[arch-commits] Commit in ddrescue/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Sep 3 08:26:57 UTC 2019


    Date: Tuesday, September 3, 2019 @ 08:26:56
  Author: dvzrv
Revision: 361512

upgpkg: ddrescue 1.24-2

Updating maintainer. Adding docs. Minor cleanup.

Modified:
  ddrescue/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-03 06:21:33 UTC (rev 361511)
+++ PKGBUILD	2019-09-03 08:26:56 UTC (rev 361512)
@@ -1,10 +1,11 @@
-# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
 # Contributor: Pierre Schmitz <pierre at archlinux.de>
 # Contributor: Paul Mattal <paul at archlinux.org>
 
 pkgname=ddrescue
 pkgver=1.24
-pkgrel=1
+pkgrel=2
 pkgdesc="GNU data recovery tool"
 arch=('x86_64')
 url="https://www.gnu.org/software/ddrescue/ddrescue.html"
@@ -17,7 +18,12 @@
 validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
 
 prepare() {
-  sed -e '/CPPFLAGS=/d' -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i $pkgname-$pkgver/configure # Honor system CFLAGS
+  cd $pkgname-$pkgver
+  # remove hardcoded makeflag overrides
+  sed -e '/CPPFLAGS=/d' \
+      -e '/CXXFLAGS=/d' \
+      -e '/LDFLAGS=/d' \
+      -i configure
 }
 
 build() {
@@ -29,5 +35,7 @@
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install install-man
-  rm "$pkgdir"/usr/share/info/dir
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+#  rm "$pkgdir"/usr/share/info/dir
 }


More information about the arch-commits mailing list