blob: f8aab64a2ade49f85e81e719be762cdad4b365d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=newt
pkgver=0.52.21
_pkgver=$(printf '%s' "$pkgver" | tr . -)
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="autoconf automake 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"
|