33 lines
877 B
Plaintext
33 lines
877 B
Plaintext
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
# Based on https://gitlab.archlinux.org/archlinux/packaging/packages/python-simple-term-menu/-/blob/main/PKGBUILD
|
|
pkgname=py3-simple-term-menu
|
|
pkgver=1.6.1
|
|
pkgrel=1
|
|
pkgdesc="A Python package which creates simple interactive menus on the command line."
|
|
url="https://github.com/IngoMeyer441/simple-term-menu"
|
|
arch="noarch"
|
|
license="MIT"
|
|
options="!check"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
source="https://pypi.python.org/packages/source/s/simple-term-menu/simple-term-menu-$pkgver.tar.gz"
|
|
subpackages="$pkgname-pyc"
|
|
builddir="$srcdir/simple-term-menu-$pkgver"
|
|
|
|
build() {
|
|
pwd >&2
|
|
echo * >&2
|
|
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --optimize=1 \
|
|
--prefix=/usr \
|
|
--root="${pkgdir}" \
|
|
--skip-build
|
|
|
|
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
}
|
|
|