summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fdabd060a80e2b21122c085f613e07c7e15cb8a1 (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
37
38
39
40
# Maintainer: Samuel Walladge <samuel@swalladge.id.au>

pkgname=piqueserver-git
_pkgname=piqueserver
pkgver=v0.1.3.r534.gd0ee6456
pkgrel=3
pkgdesc="an Ace of Spades 0.75 server based on PySnip"
arch=('any')
url="https://github.com/piqueserver/${_pkgname}"
license=('GPL3')
depends=(
  'cython'
  'python-aiohttp'
  'python-jinja'
  'python-pillow'
  'python-pyenet-piqueserver-git'
  'python-setuptools'
  'python-service-identity'
  'python-toml'
  'python-twisted'
  'python-zope-interface'
)
optdepends=('python-geoip: to use the "from" command'
            'python-crypto: ssh'
            'python-pyasn1: ssh')
makedepends=('git')
source=("${pkgname}"::"git://github.com/piqueserver/${_pkgname}.git")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname}"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "${srcdir}/${pkgname}"
  python setup.py install --root="${pkgdir}" --optimize=1
}

# vim:set ts=2 sw=2 et: