blob: 0ba5de3ed56f4effd8f6002e85fd8bc4a9e190b9 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=newt
pkgver=0.52.21
pkgrel=0
pkgdesc="Terminal user interface library"
url="https://pagure.io/newt/"
arch="all"
options="!check" # No test suite.
license="LGPL-2.0-only"
depends=""
makedepends="popt-dev slang-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pagure.io/newt/archive/r${pkgver//./-}/newt-r${pkgver//./-}.tar.gz"
builddir="$srcdir/newt-r${pkgver//./-}"
prepare() {
default_prepare
./autogen.sh
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="6a72e7f624edfcf4638cdced69ae3443dcd9abfe306e506b3220f48403dcb841ff7b05e07eabbabe73cfa689486c6ce64e240951abb1bc42c791d14493738247 newt-r0-52-21.tar.gz"
|