PKGBUILDs/extra/ddrescue/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
629 B
Bash

# $Id: PKGBUILD 47507 2009-07-24 02:16:41Z paul $
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=ddrescue
pkgver=1.11
pkgrel=1
pkgdesc="GNU data recovery tool"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/ddrescue/ddrescue.html"
license=('GPL3')
depends=('gcc-libs')
install=$pkgname.install
source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('7146046bb1851351d1337bb1f5b4e903')
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="$pkgdir" install install-man || return 1
rm "$pkgdir"/usr/share/info/dir || return 1
}