aboutsummaryrefslogtreecommitdiffstats
path: root/community/libtermkey/APKBUILD
blob: 067ae51170c60a32332a53d1bc6db4ea3121d457 (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
33
34
35
36
37
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=libtermkey
pkgver=0.20
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 perl-utils"
subpackages="$pkgname-doc $pkgname-dev"
source="http://www.leonerd.org.uk/code/$pkgname/$pkgname-$pkgver.tar.gz
	build-static-lib.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"

	make PREFIX=/usr
}

check() {
	cd "$builddir"

	make test
}

package() {
	cd "$builddir"

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

sha512sums="81a4bc5917c60ca692ec3065ac0252ae5dc1adccc2832be1c83c82318c97473d883900ab88a8a0ee08ab3f831ff07f3a4827ee3d8e936a3a42c4708ee58f6301  libtermkey-0.20.tar.gz
c62d691e5ba451fd2256c9f0baed1f87531c3faac946ad5ce3337f422049c2ca0af84ae302618458856e133177c0dfc4101b3c904a472a886196833aded5064c  build-static-lib.patch"