summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 111e9e4adb14db74a30a5faa20b157163e013879 (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
# Maintainer: Slash <demodevil5[at]yahoo[dot]com>

pkgname=xqf
pkgver=1.0.6.2
pkgrel=2
pkgdesc="A game server browser and launcher for Unix/X11 for many popular games (a qstat frontend)"
url="https://xqf.github.io/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gtk2' 'qstat' 'geoip' 'gdk-pixbuf-xlib')
makedepends=('intltool')
conflicts=('xqf-cvs' 'xqf-svn' 'xqf-git')
source=("https://github.com/XQF/xqf/archive/xqf-${pkgver}.tar.gz")
sha256sums=('bcfb87c9a452993b13bd1019b0c61459a37cbc37b13b951b73f2a93b2b1c83ad')

build() {
    cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"

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

package() {
    cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"

    make DESTDIR="${pkgdir}" install

    # Remove empty directory
    rm -r "${pkgdir}/usr/libexec"
}