summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68262a4d0d792311110f26a415ea3bbb9281a9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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: