PKGBUILDs: note myself as contributor.
[xonotic/gmqcc.git] / distro / arch / release / PKGBUILD
1 # Contributor: matthiaskrgr <matthiaskrgr _strange_curverd_character_ freedroid D0T org>
2
3 pkgname=gmqcc
4 pkgver=0.2.2
5 pkgrel=1
6 pkgdesc="An Improved Quake C Compiler"
7 arch=('i686' 'x86_64')
8 depends=('glibc')
9 url="https://github.com/graphitemaster/gmqcc.git"
10 license=('MIT')
11 source=(gmqcc-$pkgver.zip::https://github.com/graphitemaster/gmqcc/zipball/$pkgver)
12 sha1sums=('8cd91dc13f70cd9d3767602bf3eb47a1906d9353')
13
14 _gitname=graphitemaster-gmqcc-de24486/
15
16 build() {
17         msg "Starting compilation..."
18         cd "$srcdir"/"$_gitname"
19
20         msg "Compiling..."
21         make
22 }
23
24 check() {
25         cd "$srcdir"/"$_gitname"
26         make check
27 }
28
29 package() {
30         cd "$srcdir"/"$_gitname"
31         msg "Compiling and installing to pkgdir this time..."
32         make install DESTDIR=$pkgdir PREFIX=/usr
33         msg "Compiling done."
34
35         install -D LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE
36 }