summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e29d2aaaf459f1ee8e9de82857b9b757cb977aa8 (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
# Maintainer: Henry-Joseph Audéoud <h.audeoud at gmail dot com>

_pkgname='pybrctl'
pkgname="python-${_pkgname}"
pkgver=0.1.3
pkgrel=2
pkgdesc='Pure Python library for managing bridges'
arch=('any')
url='https://pypkg.com/pypi/pybrctl/'
license=('GPL')
depends=()
makedepends=('python' 'python-setuptools')
source=("https://pypi.io/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('cd1a008eb90c2561ce4c18504edf479539eb568094ed89c4dd07b91e182127c2')

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

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