diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-22 13:27:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-22 13:27:17 +0000 |
commit | ab9f2d8a3f313d0f2cbb620c9b4e31a5baf36754 (patch) | |
tree | 9c585e13957cefaac4a3a9509703023ce053f00f /main/ncurses | |
parent | 41196a3b04096994594b215bbede1e080a971148 (diff) | |
download | aports-ab9f2d8a3f313d0f2cbb620c9b4e31a5baf36754.tar.bz2 aports-ab9f2d8a3f313d0f2cbb620c9b4e31a5baf36754.tar.xz |
main/ncurses: rename -base subpackage to -terminfo-base
make it easier to find the base terminfo subpackage with apk search
Diffstat (limited to 'main/ncurses')
-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/ } |