[arch-commits] Commit in tar/trunk (PKGBUILD tar.install)

Sébastien Luttringer seblu at archlinux.org
Sat May 14 13:22:58 UTC 2016


    Date: Saturday, May 14, 2016 @ 15:22:58
  Author: seblu
Revision: 267969

upgpkg: tar 1.28-2

https://www.archlinux.org/todo/hooks-part-1/

Modified:
  tar/trunk/PKGBUILD
Deleted:
  tar/trunk/tar.install

-------------+
 PKGBUILD    |    3 +--
 tar.install |   22 ----------------------
 2 files changed, 1 insertion(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-14 13:15:30 UTC (rev 267968)
+++ PKGBUILD	2016-05-14 13:22:58 UTC (rev 267969)
@@ -5,7 +5,7 @@
 
 pkgname=tar
 pkgver=1.28
-pkgrel=1
+pkgrel=2
 pkgdesc='Utility used to store, backup, and transport files'
 arch=('i686' 'x86_64')
 url='http://www.gnu.org/software/tar/tar.html'
@@ -13,7 +13,6 @@
 groups=('base')
 depends=('glibc' 'acl' 'attr')
 options=('!emptydirs')
-install=tar.install
 validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
 source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
 md5sums=('49b6306167724fe48f419a33a5beb857'

Deleted: tar.install
===================================================================
--- tar.install	2016-05-14 13:15:30 UTC (rev 267968)
+++ tar.install	2016-05-14 13:22:58 UTC (rev 267969)
@@ -1,22 +0,0 @@
-# vim:set ts=2 sw=2 et:
-
-infodir=usr/share/info
-filelist=(tar.info tar.info-1 tar.info-2)
-
-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.gz" "$infodir/dir" 2> /dev/null
-  done
-}



More information about the arch-commits mailing list