1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Ray Rashif <schiv@archlinux.org>
3 # Contributor: Pierre Schmitz <pierre@archlinux.de>
4 # Contributor: Paul Mattal <paul@archlinux.org>
9 pkgdesc="GNU data recovery tool"
11 url="https://www.gnu.org/software/ddrescue/ddrescue.html"
13 depends=(gcc-libs glibc)
14 source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz{,.sig})
15 sha512sums=('b9a8b462536c5ec29db69e3a5f70b0bce160d5c58373cb519f6d54aba2fc0c4907e74fbcd11d49291306dc29c76f1992575aef7cfff41f34748bbd96e33b745a'
17 b2sums=('a8957819dec2255e446504c822331ae13a86193f4655cbe6d559a498db9daf8c0f8066355e395cfd44f08b2f15d831820003bdfde6fc59c8434a695f95bdbe21'
19 validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
22 # fake configure script reinvents autotools and requires custom parameters to
23 # set CPPFLAGS, CXXFLAGS and LDFLAGS
24 local configure_options=(
32 ./configure "${configure_options[@]}"
37 make DESTDIR="$pkgdir" install install-man -C "$pkgname-$pkgver"
38 install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,NEWS,README} -t "$pkgdir/usr/share/doc/$pkgname"