1 # Contributor: matthiaskrgr <matthiaskrgr _strange_curverd_character_ freedroid D0T org>
6 pkgdesc="An Improved Quake C Compiler"
9 url="https://github.com/graphitemaster/gmqcc.git"
12 _gitroot="git://github.com/graphitemaster/gmqcc.git"
17 msg "Connecting to the GIT server..."
18 if [[ -d $srcdir/$_gitname ]] ; then
20 msg "Removing build files..."
24 msg "The local files are updated."
27 git clone $_gitroot $_gitname --depth 1
31 msg "Starting compilation..."
32 cd "$srcdir"/"$_gitname"
39 cd "$srcdir"/"$_gitname"
44 cd "$srcdir"/"$_gitname"
45 msg "Compiling and installing to pkgdir this time..."
46 make install DESTDIR=$pkgdir PREFIX=/usr
49 install -D LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE