summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 0a4be859201ca0c5ebc5e243a1e840daeaa2065f (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
pkgname=python-kconfiglib
pkgver=12.14.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")
sha512sums=('5166ed2d1428b3833b20750197f9abdf01681cc629c9234752192623f85b2ffc6032c9e75521395279743584f8e35c9ea616e687ab2ff54355e97f79b76594cf')

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
}