26 lines
716 B
Bash
26 lines
716 B
Bash
|
# Template file for 'newt'
|
||
|
pkgname=newt
|
||
|
version=0.52.18
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends=""
|
||
|
makedepends="slang-devel popt-devel"
|
||
|
depends=""
|
||
|
short_desc="Library for color text mode, widget based user interfaces."
|
||
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||
|
license="GPL-3"
|
||
|
homepage="https://fedorahosted.org/newt/"
|
||
|
distfiles="https://fedorahosted.org/releases/n/e/$pkgname/$pkgname-$version.tar.gz"
|
||
|
checksum=771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e
|
||
|
|
||
|
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"
|
||
|
}
|
||
|
}
|