Package Details: ddrutility 2.8-1

Git Clone URL: https://aur.archlinux.org/ddrutility.git (read-only)
Package Base: ddrutility
Description: Set of utilities for use with GNU ddrescue to aid with data recovery
Upstream URL: http://sourceforge.net/projects/ddrutility/
Licenses: GPL3
Submitter: net147
Maintainer: net147
Last Packager: net147
Votes: 10
Popularity: 0.076628
First Submitted: 2014-05-19 13:30
Last Updated: 2017-01-15 03:33

Latest Comments

net147 commented on 2017-01-15 03:33

@jamesan Updated

jamesan commented on 2017-01-14 20:02

The build process has changed in this latest release, v2.8; namely Autotools is no longer used, so there is no <pre>./configure</pre> script to run and no aclocal folder to remove at the end of the <pre>package()</pre> function. We can resort to manually modifying the makefile to remove the local folder (as in change <pre>/usr/local</pre> paths to <pre>/usr</pre>):

<code>
prepare() {
cd "$pkgname-$pkgver"
sed --in-place 's/usr\/local/usr/g' makefile
}

build() {
cd "$pkgname-$pkgver"
make
}

package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
</code>

I've also removed references to $srcdir as each PKGBUILD function begins with $srcdir as its working directory.

akovia commented on 2014-12-24 15:14

Looks like this has been updated to 2.6 so the download fails for 2.5

==> ERROR: Failure while downloading ddrutility-2.5.tar.gz
Aborting...

DaveCode commented on 2014-06-13 04:10

Voted, nice addition. No pkg 'sh' exists, and AUR assumes base stuff implicitly, so 'sh' can drop. While I'm not familiar with this utility, wouldn't 'extra/ddrescue' be a dependency, or at least an optdepends? Thanks.