sbcl rebuild
[arch-packages.git] / ddrescue / trunk / PKGBUILD
blob87005dd5deeb81b085f832021a24cd68296849e7
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>
6 pkgname=ddrescue
7 pkgver=1.26
8 pkgrel=1
9 pkgdesc="GNU data recovery tool"
10 arch=(x86_64)
11 url="https://www.gnu.org/software/ddrescue/ddrescue.html"
12 license=(GPL3)
13 depends=(gcc-libs glibc)
14 source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz"{,.sig})
15 sha512sums=('bbe414563d459a1ad1c4e55848214d195e01f8bc455104eddbeff7046623f5bc21d961457d27ace2605d13dff68c7948182706b8afe6755e5c363e8cad86a1cc'
16             'SKIP')
17 b2sums=('c545499e380587729eb3fcc90a7baf66288348dc88027dfc14401ec72254cc786d8ab7be076a346964327668ff719048dada916c9f1514a765a255f02c5666c7'
18         'SKIP')
19 validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
21 build() {
22   cd $pkgname-$pkgver
23   # fake configure script reinvents autotools and requires custom parameters to
24   # set CPPFLAGS, CXXFLAGS and LDFLAGS
25   ./configure --prefix=/usr CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
26   make
29 package() {
30   make DESTDIR="$pkgdir" install install-man -C "$pkgname-$pkgver"
31   install -vDm 644  "$pkgname-$pkgver/"{AUTHORS,ChangeLog,NEWS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"