# $Id: PKGBUILD 30480 2009-03-20 04:42:44Z eric $ # Contributor: Tom Newsom with contributions from Andreas Schweitzer # Maintainer: dorphell pkgname=qstat pkgver=2.11 pkgrel=2 pkgdesc="Qstat is a command line utility that displays the status of internet game servers including Quake" arch=(i686 x86_64) url="http://www.qstat.org/" license=('custom:Artistic') depends=('glibc') backup=('etc/qstat.cfg') source=(http://downloads.sourceforge.net/sourceforge/qstat/$pkgname-$pkgver.tar.gz) md5sums=('26c09831660ef9049fe74b786b80d091') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc || return 1 make || return 1 make DESTDIR=$pkgdir install || return 1 install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt }