diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-05-10 01:03:34 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-05-10 01:03:34 +0000 |
commit | 9822cd0cba66a74aa7e2e050b02d26de49718cbe (patch) | |
tree | f1541375ab7d911676f59747e42d4a77d72eb13c /user/newt | |
parent | a6a9f75ce2371401259fcfcbbe8bb8e8d701888c (diff) | |
download | packages-9822cd0cba66a74aa7e2e050b02d26de49718cbe.tar.gz packages-9822cd0cba66a74aa7e2e050b02d26de49718cbe.tar.bz2 packages-9822cd0cba66a74aa7e2e050b02d26de49718cbe.tar.xz packages-9822cd0cba66a74aa7e2e050b02d26de49718cbe.zip |
user/newt: new package
Diffstat (limited to 'user/newt')
-rw-r--r-- | user/newt/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/newt/APKBUILD b/user/newt/APKBUILD new file mode 100644 index 000000000..c05167f63 --- /dev/null +++ b/user/newt/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=newt +pkgver=0.52.20 +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="d8d66cef16595d289e4d8cc75589c684e855158f0eda3530d8be9f980f663c4f175ac47925cf9ba6980e9e5fdb0a83f7bcacf38fef0db31a1a48a62bd07bdec6 newt-r0-52-20.tar.gz" |