1 # Contributor: matthiaskrgr <matthiaskrgr _strange_curverd_character_ freedroid D0T org>
6 pkgdesc="An Improved Quake C Compiler"
10 url="https://github.com/graphitemaster/gmqcc.git"
13 _gitroot="git://github.com/graphitemaster/gmqcc.git"
18 msg "Connecting to the GIT server..."
19 if [[ -d $srcdir/$_gitname ]] ; then
21 msg "Removing build files..."
25 msg "The local files are updated."
28 git clone $_gitroot $_gitname --depth 1
32 msg "Starting compilation..."
33 cd "$srcdir"/"$_gitname"
40 cd "$srcdir"/"$_gitname"
45 cd "$srcdir"/"$_gitname"
46 msg "Compiling and installing to pkgdir this time..."
47 make install DESTDIR=$pkgdir PREFIX=/usr
50 install -D LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE