summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51c07d898b3172d8f5aa223425e58078199f8084 (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
# Maintainer: Louis Rannou (louson at gresille dot org)

_name=pick
pkgname=python-${_name}
pkgver=2.4.0
pkgrel=1
pkgdesc="Python library to create interactive selection list in the terminal"
arch=('any')
url="https://github.com/wong2/pick"
license=('MIT')
depends=('python')
makedepends=(python-build python-installer python-wheel python-poetry-core)
source=("$pkgname-$pkgver.tar.gz::https://github.com/wong2/pick/archive/v$pkgver.tar.gz")
md5sums=('49aaea8b110f22cb5de59f86ec5b09b3')

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}