From 76d48c17561039f2420266cf30cc71a499d725a5 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Wed, 20 Sep 2017 22:57:55 +0000 Subject: community/hivex: modernize and add check --- community/hivex/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'community/hivex/APKBUILD') diff --git a/community/hivex/APKBUILD b/community/hivex/APKBUILD index 83d0777b9c..b7f3ef52cd 100644 --- a/community/hivex/APKBUILD +++ b/community/hivex/APKBUILD @@ -2,20 +2,20 @@ # Maintainer: Francesco Colista pkgname=hivex pkgver=1.3.14 -pkgrel=1 +pkgrel=2 pkgdesc="System for extracting the contents of Windows Registry." url="http://libguestfs.org" arch="all" license="LGPL2.1" -depends="" makedepends="python2-dev libxml2-dev readline-dev perl-dev" +checkdepends="bash" subpackages="$pkgname-dev $pkgname-doc" source="http://libguestfs.org/download/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - ./configure \ + ./configure \ --bindir=/usr/bin \ --libdir=/usr/lib \ --prefix=/usr \ @@ -24,7 +24,12 @@ build() { --disable-ruby \ --disable-ocaml \ --disable-static - make || return 1 + make +} + +check() { + cd "$builddir" + make check } package() { -- cgit v1.2.3