summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d2035b2f65323c11129f097382424c5f3308e2a7 (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
pkgname=obozrenie-git
pkgver=0.1
pkgrel=1
pkgdesc='Simple and easy to use game server browser'
arch=('any')
url='http://github.com/obozrenie'
license=('GPL3')
depends=('desktop-file-utils' 'glib-networking' 'gvfs' 'hicolor-icon-theme'
         'python-gobject' 'python-xdg' 'python-pytoml' 'qstat')
makedepends=('git' 'python-setuptools')
optdepends=('python-pygeoip: for geolocation support')
provides=('obozrenie')
conflicts=('obozrenie')
install='obozrenie.install'
source=('git+https://github.com/obozrenie/obozrenie.git')
sha256sums=('SKIP')

pkgver() {
  cd obozrenie

  printf "%s" "$(git describe | sed 's/v//; s/-/.r/; s/-g/./')"
}

package() {
  cd obozrenie

  python setup.py install --root="${pkgdir}" --optimize='1'
  install -Dm755 obozrenie-gtk ${pkgdir}/usr/bin/obozrenie-gtk
}