aboutsummaryrefslogtreecommitdiffstats
path: root/community/libtermkey/APKBUILD
blob: 55e2c6f9b7102317dd433fd396c70bffe9b539b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=libtermkey
pkgver=0.18
pkgrel=0
pkgdesc="Library for easy processing of keyboard entry from terminal-based programs"
url="http://www.leonerd.org.uk/code/libtermkey"
arch="all"
license="MIT"
depends=""
depends_dev="unibilium-dev"
makedepends="$depends_dev libtool perl"
subpackages="$pkgname-doc $pkgname-dev"
source="http://www.leonerd.org.uk/code/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"

	make PREFIX=/usr || return 1
	make test
}

package() {
	cd "$builddir"

	make PREFIX=/usr DESTDIR="$pkgdir" install
}

md5sums="3be2e3e5a851a49cc5e8567ac108b520  libtermkey-0.18.tar.gz"
sha256sums="239746de41c845af52bb3c14055558f743292dd6c24ac26c2d6567a5a6093926  libtermkey-0.18.tar.gz"
sha512sums="7507d7bf22ab075e932401b2194dcc69b40138955dc398c86327a072603df2a1010474fa9a1c75aa7cab936fa500e5e53118675b0ec6e9a85b66a1b6b7f5332e  libtermkey-0.18.tar.gz"