aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/ncurses/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD
index 26e6eb05ed..b9a2a79be0 100644
--- a/main/ncurses/APKBUILD
+++ b/main/ncurses/APKBUILD
@@ -9,8 +9,8 @@ license=MIT
depends=
source="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-${pkgver}.tar.gz
"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-terminfo-base:base
- $pkgname-terminfo $pkgname-libs"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc
+ $pkgname-terminfo-base:base $pkgname-terminfo $pkgname-libs"
_builddir="$srcdir"/ncurses-$pkgver
prepare() {
@@ -81,6 +81,12 @@ base() {
mv "$pkgdir"/etc/terminfo "$subpkgdir"/etc/
}
+static() {
+ pkgdesc="Static libraries for the ncurses library"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
+}
+
md5sums="ee13d052e1ead260d7c28071f46eefb1 ncurses-6.0.tar.gz"
sha256sums="f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260 ncurses-6.0.tar.gz"
sha512sums="9ec194f4783dae6de8c529cac31b5cfbfcfea212c5d47b1f87cd49df013e38f8580a9e7aa1384918df0921b4ba999d5e73eb6d6362cce2d7287e64308b673963 ncurses-6.0.tar.gz"