summaryrefslogtreecommitdiff
path: root/user/slang
diff options
context:
space:
mode:
Diffstat (limited to 'user/slang')
-rw-r--r--user/slang/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/slang/APKBUILD b/user/slang/APKBUILD
new file mode 100644
index 000000000..12929ac2b
--- /dev/null
+++ b/user/slang/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=slang
+pkgver=2.3.2
+pkgrel=0
+pkgdesc="Library for display and input management"
+url="http://www.jedsoft.org/slang/"
+arch="all"
+license="GPL-2.0+ AND NTP"
+depends=""
+makedepends="pcre-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.jedsoft.org/releases/slang/slang-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make -j1
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" -j1 install
+}
+
+sha512sums="35cdfe8af66dac62ee89cca60fa87ddbd02cae63b30d5c0e3786e77b1893c45697ace4ac7e82d9832b8a9ac342560bc35997674846c5022341481013e76f74b5 slang-2.3.2.tar.bz2"