summaryrefslogtreecommitdiff
path: root/user/ddrescue
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 22:11:16 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 22:11:16 +0000
commit43b362a34677898baa14d2c17e184bee43a0a66d (patch)
tree1a429faf1bc3f4052ef71e076708765ed2a86250 /user/ddrescue
parent70a61c71d34433ae379367b6f6365d7ec7988d27 (diff)
downloadpackages-43b362a34677898baa14d2c17e184bee43a0a66d.tar.gz
packages-43b362a34677898baa14d2c17e184bee43a0a66d.tar.bz2
packages-43b362a34677898baa14d2c17e184bee43a0a66d.tar.xz
packages-43b362a34677898baa14d2c17e184bee43a0a66d.zip
user/*: Modernise / fix syntax / deps / metadata
Diffstat (limited to 'user/ddrescue')
-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
}