summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 8dd90def85c6d3d67746c4217fb70f4c07db016a (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.1.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=('1e5a5f7e6d1003f4fa005b2b08abfa17cbf9f6837d9320f313b23f19c6e9e7aa7c8fddf5ff38871634257ea050390b279becec0c4e0638cdb53182347217e937')

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
}