aboutsummaryrefslogtreecommitdiffstats
path: root/community/libvterm/APKBUILD
blob: 2488734e2ce41fe59da0cf219f04ad304981ed43 (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
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=libvterm
pkgver=0.1.20190920
_gitref=fcbccd3c79bfa811800fea24db3a77384941cb70
pkgrel=0
pkgdesc="Abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
url="http://www.leonerd.org.uk/code/libvterm/"
arch="all"
license="MIT"
makedepends="libtool perl"
subpackages="$pkgname-dev"
source="$pkgname-$_gitref.tar.gz::https://github.com/neovim/libvterm/archive/$_gitref.tar.gz"
builddir="$srcdir/$pkgname-$_gitref"

build() {
	make PREFIX=/usr
}

check() {
	make test
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir/" install
	rm -f "$pkgdir"/usr/lib/*.a
}

sha512sums="230cee033cb0242a910c3c78b8744105648abec194477962c7903f5f0ee74f49264b0ea516d0ddd83f047cba426158c40e0472880f49e9e037dd0712dc8a9bee  libvterm-fcbccd3c79bfa811800fea24db3a77384941cb70.tar.gz"