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

Antonio Rojas arojas at archlinux.org
Thu May 5 21:33:15 UTC 2016


    Date: Thursday, May 5, 2016 @ 23:33:14
  Author: arojas
Revision: 266978

Hooks

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-05 21:30:17 UTC (rev 266977)
+++ PKGBUILD	2016-05-05 21:33:14 UTC (rev 266978)
@@ -3,7 +3,7 @@
 
 pkgname=a2ps
 pkgver=4.14
-pkgrel=6
+pkgrel=7
 pkgdesc="An Any to PostScript filter"
 arch=('i686' 'x86_64')
 url="http://www.gnu.org/software/a2ps/"
@@ -11,7 +11,6 @@
 depends=('psutils' 'imagemagick')
 makedepends=('gperf')
 backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg')
-install=a2ps.install
 source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig}
         a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch
 	a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch

Deleted: a2ps.install
===================================================================
--- a2ps.install	2016-05-05 21:30:17 UTC (rev 266977)
+++ a2ps.install	2016-05-05 21:33:14 UTC (rev 266978)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(a2ps.info.gz ogonkify.info.gz regex.info.gz)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file $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