aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-24 23:43:30 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-30 14:51:11 +0000
commit132006d35bfb2271305c25f5bc36162d5de698fa (patch)
tree86719340cf26a75ca5ae407a5e61ddc2e3445c46
parent6b69e5f877de225f66bb01d12f1c4f3bf261afe2 (diff)
downloadaports-132006d35bfb2271305c25f5bc36162d5de698fa.tar.gz
aports-132006d35bfb2271305c25f5bc36162d5de698fa.tar.bz2
aports-132006d35bfb2271305c25f5bc36162d5de698fa.tar.xz
main/dialog: update to 1.3.20190211
- move static library to $pkgname-static
-rw-r--r--main/dialog/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/dialog/APKBUILD b/main/dialog/APKBUILD
index e0d60de907..2ed238a241 100644
--- a/main/dialog/APKBUILD
+++ b/main/dialog/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dialog
-pkgver=1.3.20180621
+pkgver=1.3.20190211
_pkgver=${pkgver%.*}-${pkgver##*.}
pkgrel=0
pkgdesc="Script interpreter providing curses widgets"
@@ -10,7 +10,7 @@ arch="all"
options="!check" # No test suite.
license="LGPL-2.1-only"
makedepends="ncurses-dev"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-static"
source="https://invisible-mirror.net/archives/$pkgname/$pkgname-$_pkgver.tgz"
builddir="$srcdir/$pkgname-$_pkgver"
@@ -32,4 +32,12 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="1c6d794af50a12294e32b99fd9d3eb9451ac4a2f21c5567848b59c7a316b3058463c41fb8f9eb0bce68edbbe463234a6ec893f7a013ceb953eb5da0effe0d274 dialog-1.3-20180621.tgz"
+static() {
+ pkgdesc="$pkgdesc (static library)"
+ depends=""
+
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
+}
+
+sha512sums="247639190c97c1baa6aa2cc75bc17593a0e33fcfcfd6dbc4a1903b55709f8f102c965de03f0620c48463f018525eb77f9b62b39db8331b811a227bbf39b254c4 dialog-1.3-20190211.tgz"