aboutsummaryrefslogtreecommitdiffstats
path: root/community/unibilium/APKBUILD
blob: 9f0b6892acd026fd564af995b279498163f23e0c (plain) (blame)
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 Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=unibilium
pkgver=2.1.0
pkgrel=1
pkgdesc="Terminfo parsing library"
url="https://github.com/neovim/unibilium/"
arch="all"
license="LGPL-3.0-or-later"
makedepends="libtool perl"
checkdepends="perl-utils"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/neovim/unibilium/archive/v$pkgver.tar.gz
	build-static-lib.patch
	"

build() {
	make PREFIX=/usr
}

check() {
	make test
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="c0074ff8431f82c92072b8c0c9d3cf38d759b4de996b168c6ab00e475b0a6204d9c29b0a6e48e62dd4fa4898f82246150ef7cd5e246893d2c225c50ec4d4ac68  unibilium-2.1.0.tar.gz
68533c5e55997061ce71f1701490d078fd6a22ee83615d693e6b2fddda2d2b652ce73f5ff5335d3747f211845d4da4a80eb12733407ee071785624f94fa1d0e8  build-static-lib.patch"