summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 3989ca3b78a16555d3d6ead919e3cc8ad5bbb529 (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=python-kconfiglib
pkgver=13.7.1
pkgrel=1
pkgdesc="A flexible Python 2/3 Kconfig implementation and library"

url="https://github.com/ulfalizer/Kconfiglib"
license=('ISC')

arch=("any")
depends=('python')
makedepends=('python-setuptools')

source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ulfalizer/Kconfiglib/archive/v${pkgver}.tar.gz")
b2sums=('b5a9ad237ff5f521e2824e03b561ef8b70a2371221a2ed05fc254e2986e0ddf43fbccaf0173c4be4dca1dd645c1ec18b68dd2cd90a0c7cacca0ed628b2763c35')

build() {
    cd $srcdir/Kconfiglib-$pkgver
    python3 setup.py build
}

check() {
    cd $srcdir/Kconfiglib-$pkgver
    python3 setup.py test
}

package() {
    cd $srcdir/Kconfiglib-$pkgver
    python3 setup.py install --root $pkgdir
}