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

Sébastien Luttringer seblu at archlinux.org
Tue Jan 15 02:47:15 UTC 2019


    Date: Tuesday, January 15, 2019 @ 02:47:14
  Author: seblu
Revision: 344106

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

Added:
  tar/repos/core-x86_64/PKGBUILD
    (from rev 344105, tar/repos/testing-x86_64/PKGBUILD)
Deleted:
  tar/repos/core-x86_64/PKGBUILD
  tar/repos/testing-x86_64/

----------------------+
 /PKGBUILD            |   52 +++++++++++++++++++++++++++++++++++++++++++++++++
 core-x86_64/PKGBUILD |   49 ----------------------------------------------
 2 files changed, 52 insertions(+), 49 deletions(-)

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2019-01-15 00:17:46 UTC (rev 344105)
+++ core-x86_64/PKGBUILD	2019-01-15 02:47:14 UTC (rev 344106)
@@ -1,49 +0,0 @@
-# Mainainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=tar
-pkgver=1.31
-pkgrel=1
-pkgdesc='Utility used to store, backup, and transport files'
-arch=('x86_64')
-url='https://www.gnu.org/software/tar/'
-license=('GPL3')
-groups=('base')
-depends=('glibc' 'acl' 'attr')
-options=('!emptydirs')
-validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
-source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
-md5sums=('bc9a89da1185ceb2210de12552c43ce2'
-         '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 --libexecdir=/usr/lib/tar
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tar/repos/core-x86_64/PKGBUILD (from rev 344105, tar/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2019-01-15 02:47:14 UTC (rev 344106)
@@ -0,0 +1,52 @@
+# Mainainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=tar
+pkgver=1.31
+pkgrel=2
+pkgdesc='Utility used to store, backup, and transport files'
+arch=('x86_64')
+url='https://www.gnu.org/software/tar/'
+license=('GPL3')
+groups=('base')
+depends=('glibc' 'acl' 'attr')
+options=('!emptydirs')
+validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
+source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
+       '01.patch::http://git.savannah.gnu.org/cgit/tar.git/patch/?id=85c005ee1345c342f707f3c55317daf6cb050603')
+md5sums=('bc9a89da1185ceb2210de12552c43ce2'
+         'SKIP'
+         'c59638fdf88b94c46561fb68d869c5ff')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local src
+  for src in "${source[@]}"; do
+    src="${src%%::*}"
+    src="${src##*/}"
+    [[ $src = *.patch ]] || continue
+    msg2 "Applying patch $src..."
+    patch -Np1 < "../$src"
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --libexecdir=/usr/lib/tar
+  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