aboutsummaryrefslogtreecommitdiffstats
path: root/main/ncurses
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 13:07:45 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-12 14:32:48 +0000
commit45a491d4515f40c8218cc99c2284f09ed0108f61 (patch)
tree916abf35a85600a12b68f8982041dce3589d5bc3 /main/ncurses
parent1f3ad5508741a1374b1e3898d631458aa0fabcfb (diff)
downloadaports-45a491d4515f40c8218cc99c2284f09ed0108f61.tar.bz2
aports-45a491d4515f40c8218cc99c2284f09ed0108f61.tar.xz
main/nettle: modernise, add test suite
Diffstat (limited to 'main/ncurses')
-rw-r--r--main/ncurses/APKBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD
index 32e05af7ee..604bd39377 100644
--- a/main/ncurses/APKBUILD
+++ b/main/ncurses/APKBUILD
@@ -1,17 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ncurses
-pkgver=6.0_p20171125
+pkgver=6.0_p20180121
_ver=${pkgver%_p*}-${pkgver#*_p}
pkgrel=0
pkgdesc="Console display library"
url="https://www.gnu.org/software/ncurses/"
arch="all"
-license=MIT
+options="!check" # "tests" are actual demo programs, not a test suite.
+license="MIT"
depends=
makedepends_build="ncurses"
source="http://invisible-mirror.net/archives/ncurses/current/ncurses-$_ver.tgz"
-subpackages="$pkgname-static $pkgname-dev $pkgname-doc
- $pkgname-terminfo-base:base $pkgname-terminfo $pkgname-libs"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs
+ $pkgname-terminfo-base:base:noarch $pkgname-terminfo:terminfo:noarch"
builddir="$srcdir"/ncurses-$_ver
@@ -29,6 +30,7 @@ build() {
--host=$CHOST \
--mandir=/usr/share/man \
--without-ada \
+ --without-tests \
--disable-termcap \
--disable-rpath-hack \
--with-pkg-config-libdir=/usr/lib/pkgconfig \
@@ -36,14 +38,13 @@ build() {
--with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
--enable-pc-files \
--with-shared \
- --enable-widec \
- || return 1
- make || return 1
+ --enable-widec
+ make
}
package() {
cd "$builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
+ make -j1 DESTDIR="$pkgdir" install
# Install basic terms in /etc/terminfo
for i in ansi console dumb linux rxvt screen sun vt52 vt100 vt102 \
@@ -73,6 +74,7 @@ dev() {
}
terminfo() {
+ pkgdesc="$pkgdesc (other terminfo files)"
depends="$pkgname-terminfo-base"
rm -rf $subpkgdir
mkdir -p $subpkgdir/usr/share
@@ -100,4 +102,4 @@ static() {
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
}
-sha512sums="b06336a4696d5d5195177c0226f34aefebff05035247d43e1b958fb2098efb0fc2bf5a3c9d402c7c5e8fec65d03f5f290a84ef624f4a2f9348499551c5f4f09b ncurses-6.0-20171125.tgz"
+sha512sums="f233a0630df01d96e01c5fabfb8a3d96860c9d8827c910019af410ee1b3190979a8f357ca292b083914c5ef41532f068d46685d4919b4c1d9258add5fb4dc343 ncurses-6.0-20180121.tgz"