summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: c127a771a074f0621c1586fe2bccedf9a162c88d (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=13.3.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")
sha512sums=('7fc47c3abe635dc5ecf1df0e707e52b97610140c541d31194b41b721015dae1365c337b5322ec9190acba1cfc951f8c473fc96efbdc900f8c13bfc9358cb2a22')

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
}