[arch-commits] Commit in patch/repos (3 files)

Sébastien Luttringer seblu at archlinux.org
Tue Feb 13 15:18:58 UTC 2018


    Date: Tuesday, February 13, 2018 @ 15:18:57
  Author: seblu
Revision: 316799

db-move: moved patch from [testing] to [core] (x86_64)

Added:
  patch/repos/core-x86_64/PKGBUILD
    (from rev 316798, patch/repos/testing-x86_64/PKGBUILD)
Deleted:
  patch/repos/core-x86_64/PKGBUILD
  patch/repos/testing-x86_64/

----------------------+
 /PKGBUILD            |   51 +++++++++++++++++++++++++++++++++++++++++++++++++
 core-x86_64/PKGBUILD |   45 -------------------------------------------
 2 files changed, 51 insertions(+), 45 deletions(-)

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2018-02-13 14:10:50 UTC (rev 316798)
+++ core-x86_64/PKGBUILD	2018-02-13 15:18:57 UTC (rev 316799)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: judd <jvinet at zeroflux.org>
-
-pkgname=patch
-pkgver=2.7.5
-pkgrel=1
-pkgdesc='A utility to apply patch files to original sources'
-arch=('i686' 'x86_64')
-url='http://www.gnu.org/software/patch/patch.html'
-license=('GPL')
-groups=('base-devel')
-depends=('glibc' 'attr')
-makedepends=('ed')
-optdepends=('ed: for patch -e functionality')
-validpgpkeys=('7768CE4B75E5236F1A374CEEC4C927CD5D1B36D7') # Andreas Gruenbacher
-source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
-md5sums=('e3da7940431633fb65a01b91d3b7a27a'
-         'SKIP')
-
-#prepare() {
-#  # Fix segfault on non-numeric strip-count
-#  # (also segfaults on nonexistent directory passed to -d)
-#  # http://savannah.gnu.org/bugs/?37500
-#  patch -Np1 -d $pkgname-$pkgver < patch-2.7.1-initialize-data-structures-early-enough.patch
-#}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: patch/repos/core-x86_64/PKGBUILD (from rev 316798, patch/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2018-02-13 15:18:57 UTC (rev 316799)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=patch
+pkgver=2.7.6
+pkgrel=1
+pkgdesc='A utility to apply patch files to original sources'
+arch=('x86_64')
+url='https://www.gnu.org/software/patch/'
+license=('GPL')
+groups=('base-devel')
+depends=('glibc' 'attr')
+makedepends=('ed')
+optdepends=('ed: for patch -e functionality')
+validpgpkeys=('259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher
+source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+md5sums=('78ad9937e4caadcba1526ef1853730d5'
+         'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+    if [[ "$filename" =~ \.patch$ ]]; then
+      msg2 "Applying patch ${filename##*/}"
+      patch -p1 -N -i "$srcdir/${filename##*/}"
+    fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list