Commit 132006d3 authored by Leo's avatar Leo Committed by Natanael Copa

main/dialog: update to 1.3.20190211

- move static library to $pkgname-static
parent 6b69e5f8
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment