[arch-commits] Commit in which/repos (6 files)

Sébastien Luttringer seblu at nymeria.archlinux.org
Tue Jul 1 20:43:52 UTC 2014


    Date: Tuesday, July 1, 2014 @ 22:43:51
  Author: seblu
Revision: 216176

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  which/repos/testing-i686/
  which/repos/testing-i686/PKGBUILD
    (from rev 216175, which/trunk/PKGBUILD)
  which/repos/testing-i686/which.install
    (from rev 216175, which/trunk/which.install)
  which/repos/testing-x86_64/
  which/repos/testing-x86_64/PKGBUILD
    (from rev 216175, which/trunk/PKGBUILD)
  which/repos/testing-x86_64/which.install
    (from rev 216175, which/trunk/which.install)

------------------------------+
 testing-i686/PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 testing-i686/which.install   |   20 ++++++++++++++++++++
 testing-x86_64/PKGBUILD      |   31 +++++++++++++++++++++++++++++++
 testing-x86_64/which.install |   20 ++++++++++++++++++++
 4 files changed, 102 insertions(+)

Copied: which/repos/testing-i686/PKGBUILD (from rev 216175, which/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-07-01 20:43:51 UTC (rev 216176)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=which
+pkgver=2.20
+pkgrel=7
+pkgdesc='A utility to show the full path of commands'
+arch=('i686' 'x86_64')
+url='http://savannah.gnu.org/projects/which'
+license=('GPL3')
+groups=('base' 'base-devel')
+depends=('glibc' 'bash')
+install=which.install
+source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+md5sums=('95be0501a466e515422cde4af46b2744'
+         'SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: which/repos/testing-i686/which.install (from rev 216175, which/trunk/which.install)
===================================================================
--- testing-i686/which.install	                        (rev 0)
+++ testing-i686/which.install	2014-07-01 20:43:51 UTC (rev 216176)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(which.info)
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in "${filelist[@]}"; do
+    install-info "$infodir/$file.gz" "$infodir/dir" 2>/dev/null
+  done
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in "${filelist[@]}"; do
+    install-info --delete "$infodir/$file" "$infodir/dir" 2>/dev/null
+  done
+}

Copied: which/repos/testing-x86_64/PKGBUILD (from rev 216175, which/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-07-01 20:43:51 UTC (rev 216176)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=which
+pkgver=2.20
+pkgrel=7
+pkgdesc='A utility to show the full path of commands'
+arch=('i686' 'x86_64')
+url='http://savannah.gnu.org/projects/which'
+license=('GPL3')
+groups=('base' 'base-devel')
+depends=('glibc' 'bash')
+install=which.install
+source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+md5sums=('95be0501a466e515422cde4af46b2744'
+         'SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: which/repos/testing-x86_64/which.install (from rev 216175, which/trunk/which.install)
===================================================================
--- testing-x86_64/which.install	                        (rev 0)
+++ testing-x86_64/which.install	2014-07-01 20:43:51 UTC (rev 216176)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(which.info)
+
+post_install() {
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in "${filelist[@]}"; do
+    install-info "$infodir/$file.gz" "$infodir/dir" 2>/dev/null
+  done
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+pre_remove() {
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in "${filelist[@]}"; do
+    install-info --delete "$infodir/$file" "$infodir/dir" 2>/dev/null
+  done
+}




More information about the arch-commits mailing list