summaryrefslogtreecommitdiff
path: root/extra/ddrescue/PKGBUILD
blob: 2e8575fb58d771a66435226d53564136e9effc9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 149619 2012-02-08 20:30:46Z pierre $
# Maintainer: Paul Mattal <paul@archlinux.org>

pkgname=ddrescue
pkgver=1.15
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"
        "http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz.sig")
md5sums=('6b445f6246074a7fa02f3b2599031096'
         '53bc7e1f5b2a260def5207eb358b7dca')

build() {
  cd "$srcdir"/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  make DESTDIR="$pkgdir" install install-man
  rm "$pkgdir"/usr/share/info/dir
}