diff options
-rw-r--r-- | main/ncurses/APKBUILD | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD index 9ae7aa6ce0..21e0fb1a16 100644 --- a/main/ncurses/APKBUILD +++ b/main/ncurses/APKBUILD @@ -1,15 +1,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ncurses pkgver=5.9 -pkgrel=2 +pkgrel=3 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-base $pkgname-terminfo - $pkgname-widec-libs:widec $pkgname-libs" +subpackages="$pkgname-dev $pkgname-doc $pkgname-terminfo-base:base + $pkgname-terminfo $pkgname-widec-libs:widec $pkgname-libs" prepare() { cd "$srcdir/$pkgname-$pkgver" @@ -70,7 +70,7 @@ package() { } terminfo() { - depends="ncurses-base" + depends="ncurses-terminfo-base" rm -rf $subpkgdir mkdir -p $subpkgdir/usr/share mv $pkgdir/usr/share/terminfo $subpkgdir/usr/share @@ -78,15 +78,14 @@ terminfo() { widec() { pkgdesc="Ncurses wide character libraries" - depends="ncurses-base" + depends="ncurses-terminfo-base" mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/lib*w.so.* "$subpkgdir"/usr/lib/ } libs() { pkgdesc="Ncurses libraries" - replaces="ncurses" - depends="ncurses-base" + depends="ncurses-terminfo-base" mkdir -p "$subpkgdir"/usr/ mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ } @@ -94,7 +93,6 @@ libs() { base() { pkgdesc="Descriptions of common terminals" - replaces="ncurses" mkdir -p "$subpkgdir"/etc mv "$pkgdir"/etc/terminfo "$subpkgdir"/etc/ } |