[arch-commits] Commit in ddrescue/repos/extra-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Sep 3 08:27:02 UTC 2019


    Date: Tuesday, September 3, 2019 @ 08:27:01
  Author: dvzrv
Revision: 361513

archrelease: copy trunk to extra-x86_64

Added:
  ddrescue/repos/extra-x86_64/PKGBUILD
    (from rev 361512, ddrescue/trunk/PKGBUILD)
Deleted:
  ddrescue/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   74 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 41 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-03 08:26:56 UTC (rev 361512)
+++ PKGBUILD	2019-09-03 08:27:01 UTC (rev 361513)
@@ -1,33 +0,0 @@
-# Maintainer: 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
-pkgdesc="GNU data recovery tool"
-arch=('x86_64')
-url="http://www.gnu.org/software/ddrescue/ddrescue.html"
-license=('GPL3')
-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")
-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 $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install install-man
-  rm "$pkgdir"/usr/share/info/dir
-}

Copied: ddrescue/repos/extra-x86_64/PKGBUILD (from rev 361512, ddrescue/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-03 08:27:01 UTC (rev 361513)
@@ -0,0 +1,41 @@
+# 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=2
+pkgdesc="GNU data recovery tool"
+arch=('x86_64')
+url="https://www.gnu.org/software/ddrescue/ddrescue.html"
+license=('GPL3')
+depends=('gcc-libs')
+source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz"
+        "https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz.sig")
+sha256sums=('4b5d3feede70e3657ca6b3c7844f23131851cbb6af0cecc9721500f7d7021087'
+            'SKIP')
+validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
+
+prepare() {
+  cd $pkgname-$pkgver
+  # remove hardcoded makeflag overrides
+  sed -e '/CPPFLAGS=/d' \
+      -e '/CXXFLAGS=/d' \
+      -e '/LDFLAGS=/d' \
+      -i configure
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install install-man
+  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