aboutsummaryrefslogtreecommitdiffstats
path: root/community/unibilium/APKBUILD
blob: ea3fc27c8d97f11d8c08c2f844745b95843dfc1c (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
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=unibilium
pkgver=2.0.0
pkgrel=1
pkgdesc="A terminfo parsing library"
url="https://github.com/mauke/unibilium/"
arch="all"
license="LGPL-3.0"
depends_dev="libtool"
makedepends="$depends_dev"
checkdepends="perl-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mauke/$pkgname/archive/v$pkgver.tar.gz
	39.patch
	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="e93f319b7a85a4441c7f4e30d12d906805f066b14bff03331e48b6257da893f6447e257c8ba731077ad4b54d82d3ebf1ccf1fcf2d864273e0d4321a26ef7c172  unibilium-2.0.0.tar.gz
fb6ce8101c0a5032a7ff2e669d80d1657580a06481f616777534fb19223f2b0440a785bdaa1d9fbac6a30f13a6ec1b99b993b3b1a2bd0ff800ffb6e172f2e175  39.patch
68533c5e55997061ce71f1701490d078fd6a22ee83615d693e6b2fddda2d2b652ce73f5ff5335d3747f211845d4da4a80eb12733407ee071785624f94fa1d0e8  build-static-lib.patch"