summaryrefslogtreecommitdiff
path: root/user/slang/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-10 00:51:15 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-10 00:51:15 +0000
commita6a9f75ce2371401259fcfcbbe8bb8e8d701888c (patch)
treee9ad13918a828d189830a44054992582e00a6662 /user/slang/APKBUILD
parentd950a50ac6855d2a49328247ad0e6e9933547d33 (diff)
downloadpackages-a6a9f75ce2371401259fcfcbbe8bb8e8d701888c.tar.gz
packages-a6a9f75ce2371401259fcfcbbe8bb8e8d701888c.tar.bz2
packages-a6a9f75ce2371401259fcfcbbe8bb8e8d701888c.tar.xz
packages-a6a9f75ce2371401259fcfcbbe8bb8e8d701888c.zip
user/slang: new package
Diffstat (limited to 'user/slang/APKBUILD')
-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"