aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libtermkey/APKBUILD
blob: 551da0288ee1516384cc1e8aacbce6ff930fedf7 (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
# 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="libtool unibilium-dev"
makedepends="$depends_dev"
install=""
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
}

package() {
	cd "$_builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
}

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