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

David Runge dvzrv at archlinux.org
Mon Mar 2 21:00:51 UTC 2020


    Date: Monday, March 2, 2020 @ 21:00:50
  Author: dvzrv
Revision: 376515

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 32 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-02 21:00:44 UTC (rev 376514)
+++ PKGBUILD	2020-03-02 21:00:50 UTC (rev 376515)
@@ -1,41 +0,0 @@
-# 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
-}

Copied: ddrescue/repos/extra-x86_64/PKGBUILD (from rev 376514, ddrescue/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-02 21:00:50 UTC (rev 376515)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# 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.25
+pkgrel=1
+pkgdesc="GNU data recovery tool"
+arch=('x86_64')
+url="https://www.gnu.org/software/ddrescue/ddrescue.html"
+license=('GPL3')
+depends=('gcc-libs' 'glibc')
+source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz"{,.sig})
+sha512sums=('90e344a618e385730836218817588f6854db6d1acdf357bf60bdba04c76382e73041dfc367ba4de60062992ee74b2da58417f6e464ffbeed10ec89fac110f4b8'
+            'SKIP')
+validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
+
+build() {
+  cd $pkgname-$pkgver
+  # fake configure script reinvents autotools and requires custom parameters to
+  # set CPPFLAGS, CXXFLAGS and LDFLAGS
+  ./configure --prefix=/usr CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install install-man
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list