aboutsummaryrefslogtreecommitdiffstats
path: root/main/ncurses/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-02-28 12:58:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-02-28 12:58:41 +0000
commit79fd8a608fa9d9a3eeea740f5f6b59b50750e215 (patch)
treea06536e1d8644ce9097002ca5f8355c15d12580a /main/ncurses/APKBUILD
parentb6952dc967f74040c15c92c8c269b0b6047b0400 (diff)
downloadaports-79fd8a608fa9d9a3eeea740f5f6b59b50750e215.tar.gz
aports-79fd8a608fa9d9a3eeea740f5f6b59b50750e215.tar.bz2
aports-79fd8a608fa9d9a3eeea740f5f6b59b50750e215.tar.xz
main/ncurses: split out ncurses-libs and ncurses-base packages
the apps in /usr/bin are normally not needed. We split the packagage
Diffstat (limited to 'main/ncurses/APKBUILD')
-rw-r--r--main/ncurses/APKBUILD19
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"