summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0f999b43823e0620c4b8078c836dfafc45659ce (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
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Slash <demodevil5[at]yahoo[dot]com>

pkgname=qstat-git
pkgver=r396.a60436f
pkgrel=1
pkgdesc="A command line utility that displays the status of internet game servers"
url="https://github.com/multiplay/qstat"
arch=('i686' 'x86_64')
license=('Artistic2.0')
depends=('glibc')
makedepends=('subversion')
replaces=('qstat-cvs' 'qstat-svn')
conflicts=('qstat' 'qstat-cvs' 'qstat-svn')
provides=('qstat')
source=('qstat::git+https://github.com/multiplay/qstat.git')
sha256sums=('SKIP')

pkgver() {
    cd "qstat"

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "${srcdir}/qstat"

    ./autogen.sh
    ./configure --prefix=/usr --sysconfdir=/etc
    make
}

package() {
    cd "${srcdir}/qstat"

    make DESTDIR="${pkgdir}" install
}