summaryrefslogtreecommitdiff
path: root/user/ddrescue/APKBUILD
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
commit9297468fa579836e3a6a381b798feb6b78217c2d (patch)
tree53168212f427afbcf0693b534530a4af803152e9 /user/ddrescue/APKBUILD
parenta63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff)
parentda5a69b65a8791fffa6e93366ee585f87eff136d (diff)
downloadpackages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip
Merge branch 'master' into zfs
Diffstat (limited to 'user/ddrescue/APKBUILD')
-rw-r--r--user/ddrescue/APKBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/user/ddrescue/APKBUILD b/user/ddrescue/APKBUILD
index 6fd0c0a02..a62b71c5e 100644
--- a/user/ddrescue/APKBUILD
+++ b/user/ddrescue/APKBUILD
@@ -5,13 +5,14 @@ pkgver=1.24
pkgrel=0
pkgdesc="Data recovery tool for block devices with errors"
url="https://www.gnu.org/s/ddrescue/ddrescue.html"
-license="GPL-3.0+"
arch="all !aarch64"
+license="GPL-3.0+"
+depends=""
+makedepends=""
subpackages="$pkgname-doc"
-source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz"
+source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz"
build() {
- cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -20,17 +21,10 @@ build() {
}
check() {
- cd "$builddir"
-
- # XXX: Some tests fail on s390x, but only on builder, so ignore it for now.
- case "$CARCH" in
- s390x) make check || true;;
- *) make check;;
- esac
+ make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}