Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2017-01-03 23:13:39 +03:00
parent 6d5822e72a
commit 5a352751a9

View File

@ -1,10 +1,11 @@
# Maintainer: Slash <demodevil5[at]yahoo[dot]com> # Maintainer: Jack L. Frost <fbt@fleshless.org>
# AUR Maintainer: Slash <demodevil5[at]yahoo[dot]com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk> with contributions from Andreas Schweitzer <sig11@gmx.net> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> with contributions from Andreas Schweitzer <sig11@gmx.net>
# Contributor: dorphell <dorphell@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org>
pkgname=qstat pkgname=qstat
pkgver=2.11 pkgver=2.14
pkgrel=3 pkgrel=1
pkgdesc="A command line utility that displays the status of internet game servers" pkgdesc="A command line utility that displays the status of internet game servers"
url="http://www.qstat.org/" url="http://www.qstat.org/"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -12,14 +13,14 @@ license=('custom:Artistic')
depends=('glibc') depends=('glibc')
conflicts=('qstat-cvs' 'qstat-svn') conflicts=('qstat-cvs' 'qstat-svn')
backup=('etc/qstat.cfg') backup=('etc/qstat.cfg')
source=("http://downloads.sourceforge.net/sourceforge/qstat/${pkgname}-${pkgver}.tar.gz") source=( "https://github.com/multiplay/qstat/archive/v${pkgver}.tar.gz" )
sha256sums=('16f0c0f55567597d7f2db5136a0858c56effb4481a2c821a48cd0432ea572150')
build() { build() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${pkgname}-${pkgver}"
sed "s#strndup#strndupxyz#g" -i qstat.c sed "s#strndup#strndupxyz#g" -i qstat.c
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc ./configure --prefix=/usr --sysconfdir=/etc
make make
} }
@ -34,3 +35,4 @@ package() {
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
} }
sha1sums=('6b18671939ba8a0afc9669e0e4069e4ef9d02a0e')