summaryrefslogblamecommitdiff
path: root/user/slang/APKBUILD
blob: 12929ac2bb8b3e683b1735da08b3007d97436619 (plain) (tree)
































                                                                                                                                                                  
# 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"