38 lines
1,004 B
Bash
38 lines
1,004 B
Bash
# Template file for 'newt'
|
|
pkgname=newt
|
|
version=0.52.19
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="python-devel python3-devel"
|
|
makedepends="slang-devel popt-devel python3-devel python-devel"
|
|
short_desc="Library for color text mode, widget based user interfaces"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-3"
|
|
homepage="https://pagure.io/newt/"
|
|
distfiles="https://pagure.io/releases/newt/newt-${version}.tar.gz"
|
|
checksum=08c0db56c21996af6a7cbab99491b774c6c09cef91cd9b03903c84634bff2e80
|
|
|
|
newt-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
newt-python_package() {
|
|
short_desc+=" - Python2 bindings"
|
|
pycompile_module="snake.py"
|
|
pkg_install() {
|
|
vmove usr/lib/python2*
|
|
}
|
|
}
|
|
newt-python3_package() {
|
|
short_desc+=" - Python3 bindings"
|
|
pycompile_module="snake.py"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|