diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-02-13 18:49:54 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-02-14 18:27:17 +0000 |
commit | a2dbbd6f87f77df234b8f8218e888f3e63fcbc13 (patch) | |
tree | a64a5d64235883e7d4845df47f8e11cb78761ef4 /main/fsarchiver | |
parent | d3408d87bed5c2bfff9a6a0117605d5f5c9bf8b3 (diff) | |
download | aports-a2dbbd6f87f77df234b8f8218e888f3e63fcbc13.tar.bz2 aports-a2dbbd6f87f77df234b8f8218e888f3e63fcbc13.tar.xz |
main/fsarchiver: add simple check
Add a simple test as upstream doesn't provide a test suite.
Diffstat (limited to 'main/fsarchiver')
-rw-r--r-- | main/fsarchiver/APKBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/fsarchiver/APKBUILD b/main/fsarchiver/APKBUILD index 05e6b5e5ce..8754e6ed78 100644 --- a/main/fsarchiver/APKBUILD +++ b/main/fsarchiver/APKBUILD @@ -1,9 +1,8 @@ # Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> - pkgname=fsarchiver pkgver=0.8.3 -pkgrel=0 +pkgrel=1 pkgdesc="Safe and flexible file-system backup and deployment tool" arch="all" url="http://www.fsarchiver.org/" @@ -15,7 +14,6 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,9 +21,13 @@ build() { make } -package() { +check() { cd "$builddir" + ./src/fsarchiver --help > /dev/null +} +package() { + cd "$builddir" make DESTDIR="$pkgdir" install } |