summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 3bc07ed6c335fa95e427693bc6d39ddc9094010e (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.13.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=('84b708135f6f0ac43c0f3ca3f2b485500deea87ffc8f7a2d87a5ff8acabb6f99c0584676af72343a6d2aa77820f5d3b38ce06d2ca60aee730c03f7ed419a575b')

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
}