[arch-commits] Commit in which/trunk (PKGBUILD which.install)
Sébastien Luttringer
seblu at archlinux.org
Sat May 14 13:14:26 UTC 2016
Date: Saturday, May 14, 2016 @ 15:14:25
Author: seblu
Revision: 267965
upgpkg: which 2.21-2
https://www.archlinux.org/todo/hooks-part-1/
Modified:
which/trunk/PKGBUILD
Deleted:
which/trunk/which.install
---------------+
PKGBUILD | 3 +--
which.install | 20 --------------------
2 files changed, 1 insertion(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-14 13:10:33 UTC (rev 267964)
+++ PKGBUILD 2016-05-14 13:14:25 UTC (rev 267965)
@@ -5,7 +5,7 @@
pkgname=which
pkgver=2.21
-pkgrel=1
+pkgrel=2
pkgdesc='A utility to show the full path of commands'
arch=('i686' 'x86_64')
url='http://savannah.gnu.org/projects/which'
@@ -12,7 +12,6 @@
license=('GPL3')
groups=('base' 'base-devel')
depends=('glibc' 'bash')
-install=which.install
# gpg key is using deprecated md5 algo, do not use
# check if a new one is issued in the next release
source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
Deleted: which.install
===================================================================
--- which.install 2016-05-14 13:10:33 UTC (rev 267964)
+++ which.install 2016-05-14 13:14:25 UTC (rev 267965)
@@ -1,20 +0,0 @@
-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