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

build() {
	cd "$builddir"
	make PREFIX=/usr
}

check() {
        cd "$builddir"
        make test
}

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

sha512sums="8ac8e442783a2db129087ea42e02034f4a7aa9070c5776f43879f5675b3da447e7f6fbd50a77713f0e424f1e0eb2ce203f9ee9e77999b0e208b033e37b4b6587  libvterm-e0a3d4dbd44a9534bf7437ee98ceb26dabebf3ad.tar.gz"