diff options
-rw-r--r-- | community/ddrescue/APKBUILD | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/community/ddrescue/APKBUILD b/community/ddrescue/APKBUILD index 7620640cd6..62faeacea2 100644 --- a/community/ddrescue/APKBUILD +++ b/community/ddrescue/APKBUILD @@ -6,21 +6,13 @@ pkgdesc="Data recovery tool for block devices with errors" url="http://www.gnu.org/s/ddrescue/ddrescue.html" arch="all !aarch64" license="GPL3+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" subpackages="$pkgname-doc" source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - return 0 -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" + ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -29,7 +21,7 @@ build() { } check() { - cd "$_builddir" + cd "$builddir" # XXX: Some tests fail on s390x, but only on builder, so ignore it for now. case "$CARCH" in @@ -39,7 +31,7 @@ check() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } |