summaryrefslogtreecommitdiff
path: root/user/dialog
diff options
context:
space:
mode:
Diffstat (limited to 'user/dialog')
-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"