From 43b362a34677898baa14d2c17e184bee43a0a66d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 8 Jan 2020 22:11:16 +0000 Subject: user/*: Modernise / fix syntax / deps / metadata --- user/ddrescue/APKBUILD | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'user/ddrescue') 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 } -- cgit v1.2.3-70-g09d2