diff options
-rw-r--r-- | community/btrbk/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/community/btrbk/APKBUILD b/community/btrbk/APKBUILD index 39ee259bb1..c31e307f5a 100644 --- a/community/btrbk/APKBUILD +++ b/community/btrbk/APKBUILD @@ -9,14 +9,18 @@ arch="noarch" license="GPL-3.0-or-later" depends="perl perl-date-calc btrfs-progs" makedepends="asciidoc" -options="!check" subpackages="$pkgname-doc" source="http://digint.ch/download/$pkgname/releases/$pkgname-$pkgver.tar.xz" builddir="$srcdir"/$pkgname-$pkgver +check() { + cd "$builddir" + ./btrbk -h > /dev/null +} + package() { cd "$builddir" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" BINDIR=/usr/bin" install rm -rf "$pkgdir"/usr/lib # systemd scripts } |