summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 3fe052cf2af9b6d3085f43018c6bd3a3596d2a8d (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=14.0.0
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=('3a5673d9fe69b6bf22f7461a206e674eaf5db2b24fb9615f4067ee8f57f9e8228213e8a23212a7097848a0e97f441e6ec804734590be6997399418dad60124b9')

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
}