updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cstat / PKGBUILD
blobfcbe2b168ef343b8e7da4d97cb8b3355f95e6c3d
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=cstat
4 pkgver=0.5.4
5 pkgrel=1
6 pkgdesc="A tool to gather real-time statistics from Cube and Cube 2 game servers"
7 arch=('i686' 'x86_64')
8 url="http://cstat.y7.ath.cx/"
9 license=('GPL')
10 depends=('glibc')
11 source=($url/$pkgname-$pkgver-src.tar.gz)
12 md5sums=('6a8156ab96d2f7350cc1818499e3ee25')
14 build() {
15   cd $pkgname-$pkgver-src/src
17   export CFLAGS+=" -I. -DHAVE_CONFIG_H"
19   ./configure --prefix=/usr
20   make || return 1
21   install -Dm755 cstat "$pkgdir"/usr/bin/cstat
24 # vim:set ts=2 sw=2 et: