1 # Contributor: matthiaskrgr <matthiaskrgr _strange_curverd_character_ freedroid D0T org>
2 # Contributor: Wolfgang Bumiller <blub@speed.at>
7 pkgdesc="An Improved Quake C Compiler"
11 provides=('gmqcc=0.2.4')
13 url="https://github.com/graphitemaster/gmqcc.git"
16 _gitroot="git://github.com/graphitemaster/gmqcc.git"
21 msg "Connecting to the GIT server..."
22 if [[ -d $srcdir/$_gitname ]] ; then
24 msg "Removing build files..."
28 msg "The local files are updated."
31 git clone $_gitroot $_gitname --depth 1
35 msg "Starting compilation..."
36 cd "$srcdir"/"$_gitname"
43 cd "$srcdir"/"$_gitname"
48 cd "$srcdir"/"$_gitname"
49 msg "Compiling and installing to pkgdir this time..."
50 gmake install DESTDIR=$pkgdir PREFIX=/usr
53 install -dm755 ${pkgdir}/usr/local/share/licenses/gmqcc
54 install -m644 LICENSE ${pkgdir}/usr/local/share/licenses/gmqcc/LICENSE