aboutsummaryrefslogtreecommitdiffstats
path: root/community/libvterm/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-25 02:02:57 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-25 02:03:17 +0000
commit2d01fc18cadae9b9111d34cdd5ed5f37778dd299 (patch)
treedea56168fa784779c3347422eacd54891176ed85 /community/libvterm/APKBUILD
parent865596497785547a58857e35e5206ff939f0a0ae (diff)
downloadaports-2d01fc18cadae9b9111d34cdd5ed5f37778dd299.tar.bz2
aports-2d01fc18cadae9b9111d34cdd5ed5f37778dd299.tar.xz
community/libvterm: add check
Diffstat (limited to 'community/libvterm/APKBUILD')
-rw-r--r--community/libvterm/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/libvterm/APKBUILD b/community/libvterm/APKBUILD
index f7a3b3ac10..014790d0f5 100644
--- a/community/libvterm/APKBUILD
+++ b/community/libvterm/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libvterm
pkgver=0.0.20161007
_gitref=e0a3d4dbd44a9534bf7437ee98ceb26dabebf3ad
-pkgrel=0
+pkgrel=1
pkgdesc="Abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
url="https://www.leonerd.org.uk/code/libvterm"
arch="all"
@@ -19,11 +19,14 @@ build() {
make PREFIX=/usr
}
+check() {
+ cd "$builddir"
+ make test
+}
+
package() {
cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir/" install
}
-md5sums="078e30eadf5bda9d73a8d30627db99f6 libvterm-e0a3d4dbd44a9534bf7437ee98ceb26dabebf3ad.tar.gz"
-sha256sums="1412f7a82924adc756dff51edeb0eda6749ff9e49cdbb11a4daae292380a7961 libvterm-e0a3d4dbd44a9534bf7437ee98ceb26dabebf3ad.tar.gz"
sha512sums="8ac8e442783a2db129087ea42e02034f4a7aa9070c5776f43879f5675b3da447e7f6fbd50a77713f0e424f1e0eb2ce203f9ee9e77999b0e208b033e37b4b6587 libvterm-e0a3d4dbd44a9534bf7437ee98ceb26dabebf3ad.tar.gz"