summaryrefslogtreecommitdiff
path: root/user/dialog/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 19:00:46 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 19:00:46 -0500
commit6d3ea17ceba8778d474f827f52d04677bdf0ffbd (patch)
tree9040922c08140be9f2fbb9132f777cd609e58169 /user/dialog/APKBUILD
parent672536a89d46926badd4b026b66db042ed0e9790 (diff)
downloadpackages-6d3ea17ceba8778d474f827f52d04677bdf0ffbd.tar.gz
packages-6d3ea17ceba8778d474f827f52d04677bdf0ffbd.tar.bz2
packages-6d3ea17ceba8778d474f827f52d04677bdf0ffbd.tar.xz
packages-6d3ea17ceba8778d474f827f52d04677bdf0ffbd.zip
user/dialog: pull in, bump to current stable, take, fix
Diffstat (limited to 'user/dialog/APKBUILD')
-rw-r--r--user/dialog/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/dialog/APKBUILD b/user/dialog/APKBUILD
new file mode 100644
index 000000000..ddd2e3124
--- /dev/null
+++ b/user/dialog/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=dialog
+_realver=1.3-20180621
+pkgver=${_realver/-/.}
+pkgrel=0
+pkgdesc="Script interpreter providing curses widgets"
+url="http://invisible-island.net/dialog/dialog.html"
+arch="all"
+options="!check" # No test suite.
+license="LGPL-2.1-only"
+depends=""
+makedepends="ncurses-dev"
+subpackages="$pkgname-doc"
+source="ftp://ftp.invisible-island.net/$pkgname/$pkgname-$_realver.tgz"
+builddir="$srcdir"/$pkgname-$_realver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-ncursesw
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="1c6d794af50a12294e32b99fd9d3eb9451ac4a2f21c5567848b59c7a316b3058463c41fb8f9eb0bce68edbbe463234a6ec893f7a013ceb953eb5da0effe0d274 dialog-1.3-20180621.tgz"