community/xarchiver: add basic check

Add basic check as upstream doesn't provide a test suite.
This commit is contained in:
Roberto Oliveira 2017-11-20 03:39:11 +00:00
parent 02f96122b5
commit a09006d724

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xarchiver
pkgver=0.5.4.12
pkgrel=0
pkgrel=1
pkgdesc="GTK+ frontend to various command line archivers"
url="https://github.com/ib/xarchiver"
arch="all"
@ -23,6 +23,11 @@ build() {
make
}
check() {
cd "$builddir"
./src/xarchiver --help > /dev/null
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install