From a6a9f75ce2371401259fcfcbbe8bb8e8d701888c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 10 May 2019 00:51:15 +0000 Subject: user/slang: new package --- user/slang/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/slang/APKBUILD (limited to 'user/slang') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2