community/unibilium: add check

This commit is contained in:
Roberto Oliveira 2017-11-21 22:03:57 +00:00
parent b8e11aff4c
commit 346b1f4abd

View File

@ -2,14 +2,14 @@
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=unibilium
pkgver=1.2.1
pkgrel=0
pkgrel=1
pkgdesc="A terminfo parsing library"
url="https://github.com/mauke/unibilium/"
arch="all"
license="LGPL3"
depends=""
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
build-static-lib.patch"
@ -20,6 +20,11 @@ build() {
make PREFIX=/usr
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install