diff options
Diffstat (limited to 'main/ncurses')
-rw-r--r-- | main/ncurses/APKBUILD | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD index 5ef41a6d81..bb95248d8e 100644 --- a/main/ncurses/APKBUILD +++ b/main/ncurses/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ncurses pkgver=5.8 -pkgrel=0 +pkgrel=1 pkgdesc="Console display library" url="http://www.gnu.org/software/ncurses/" arch="all" license=MIT depends= source="ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz" -subpackages="$pkgname-dev $pkgname-doc $pkgname-terminfo" +subpackages="$pkgname-dev $pkgname-doc $pkgname-base $pkgname-terminfo $pkgname-libs" build() { cd "$srcdir/$pkgname-$pkgver" @@ -49,4 +49,19 @@ terminfo() { mv $pkgdir/usr/share/terminfo $subpkgdir/usr/share } +libs() { + pkgdesc="Ncurses libraries" + replaces="ncurses" + depends="ncurses-base" + mkdir -p "$subpkgdir"/usr/ + mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ +} + +base() { + pkgdesc="Descriptions of common terminals" + replaces="ncurses" + mkdir -p "$subpkgdir"/etc + mv "$pkgdir"/etc/terminfo "$subpkgdir"/etc/ +} + md5sums="20ed3fa7599937f0ca268d9088837a64 ncurses-5.8.tar.gz" |