summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0b04b8bb0d7dbfd53ccdd669a89dcbe536b1649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Bet4 <0xbet4@gmail.com>

_pkgname=udbserver
pkgname=python-$_pkgname
pkgver=0.1
pkgrel=1
pkgdesc="Python bindings for udbserver"
arch=(x86_64)
url="https://github.com/bet4it/udbserver"
license=(MIT)
depends=(udbserver python-unicorn-git)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('a5c3ef3585787d73d035412a6645bfee5b7e13c7a2822ecb2ac3a0445e18c26f')

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py build
}

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