4 pkgdesc="An Improved Quake C Compiler"
7 url="https://github.com/graphitemaster/gmqcc.git"
10 _gitroot="git://github.com/graphitemaster/gmqcc.git"
15 msg "Connecting to the GIT server..."
16 if [[ -d $srcdir/$_gitname ]] ; then
18 msg "Removing build files..."
22 msg "The local files are updated."
25 git clone $_gitroot $_gitname --depth 1
29 msg "Starting compilation..."
30 cd "$srcdir"/"$_gitname"
37 cd "$srcdir"/"$_gitname"
42 cd "$srcdir"/"$_gitname"
43 msg "Compiling and installing to pkgdir this time..."
44 make install DESTDIR=$pkgdir PREFIX=/usr