diff options
author | piernov | 2015-06-09 17:27:57 +0200 |
---|---|---|
committer | piernov | 2015-06-09 17:27:57 +0200 |
commit | ca294c2f91b4f0943a9f7539091c45ea37bc9953 (patch) | |
tree | 59cdf78390952b9538c248f3a67d8d1b2cbd9a1a /PKGBUILD | |
download | aur-cstat.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..68262a4d0d79 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> + +pkgname=cstat +pkgver=0.9.9 +pkgrel=1 +pkgdesc="A tool to gather real-time statistics from Cube and Cube 2 game servers" +arch=('i686' 'x86_64') +url="http://cstat.y7.ath.cx/" +license=('GPL') +depends=('glibc') +source=(http://downloads.sourceforge.net/project/cubestat/$pkgname-$pkgver-src.tar.gz) +md5sums=('b0aaea5be673f2a57046428e6e7f861b') + +build() { + cd $pkgname-$pkgver-src/src + + export CFLAGS+=" -I. -DHAVE_CONFIG_H" + + ./configure --prefix=/usr + make || return 1 + install -Dm755 cstat "$pkgdir"/usr/bin/cstat +} + +# vim:set ts=2 sw=2 et: |