Date: Tuesday, April 9, 2019 @ 10:39:47 Author: arojas Revision: 350446
Update to 1.24, honor system CFLAGS Modified: ddrescue/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-04-09 10:20:33 UTC (rev 350445) +++ PKGBUILD 2019-04-09 10:39:47 UTC (rev 350446) @@ -3,7 +3,7 @@ # Contributor: Paul Mattal <p...@archlinux.org> pkgname=ddrescue -pkgver=1.23 +pkgver=1.24 pkgrel=1 pkgdesc="GNU data recovery tool" arch=('x86_64') @@ -12,18 +12,22 @@ depends=('gcc-libs') source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz") #"http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz.sig") -md5sums=('cd85a82d510d9abf790132fb0da1bf3c') +sha256sums=('4b5d3feede70e3657ca6b3c7844f23131851cbb6af0cecc9721500f7d7021087') #'SKIP') #validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz +prepare() { + sed -e '/CPPFLAGS=/d' -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i $pkgname-$pkgver/configure # Honor system CFLAGS +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd $pkgname-$pkgver ./configure --prefix=/usr make } package() { - cd "$srcdir"/$pkgname-$pkgver + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install-man rm "$pkgdir"/usr/share/info/dir }