summaryrefslogtreecommitdiff
path: root/extra/ddrescue/PKGBUILD
blob: d74363da5accf9fc2393fa1971838bd2768a3646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 107823 2011-01-27 04:32:13Z paul $
# Maintainer: Paul Mattal <paul@archlinux.org>

pkgname=ddrescue
pkgver=1.14
pkgrel=1
pkgdesc="GNU data recovery tool"
arch=('i686' 'x86_64' 'mips64el')
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=('d6f6cc63df9ad352bc6e43b65c975af5')

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
}