1 # Contributor: matthiaskrgr <matthiaskrgr _strange_curverd_character_ freedroid D0T org>
6 pkgdesc="An Improved Quake C Compiler"
10 provides=('gmqcc=0.2.4')
12 url="https://github.com/graphitemaster/gmqcc.git"
15 _gitroot="git://github.com/graphitemaster/gmqcc.git"
20 msg "Connecting to the GIT server..."
21 if [[ -d $srcdir/$_gitname ]] ; then
23 msg "Removing build files..."
27 msg "The local files are updated."
30 git clone $_gitroot $_gitname --depth 1
34 msg "Starting compilation..."
35 cd "$srcdir"/"$_gitname"
42 cd "$srcdir"/"$_gitname"
47 cd "$srcdir"/"$_gitname"
48 msg "Compiling and installing to pkgdir this time..."
49 make install DESTDIR=$pkgdir PREFIX=/usr
52 install -D LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE