summaryrefslogblamecommitdiff
path: root/user/newt/APKBUILD
blob: c05167f63b46492ae193f22f752d795077ea770e (plain) (tree)




































                                                                                                                                                                   
# 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"