[arch-commits] Commit in help2man/trunk (PKGBUILD help2man.install)
Date: Wednesday, May 4, 2016 @ 22:32:51 Author: arojas Revision: 266887 Hooks Modified: help2man/trunk/PKGBUILD Deleted: help2man/trunk/help2man.install --+ PKGBUILD |3 +-- help2man.install | 18 -- 2 files changed, 1 insertion(+), 20 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-05-04 20:22:57 UTC (rev 266886) +++ PKGBUILD2016-05-04 20:32:51 UTC (rev 266887) @@ -4,13 +4,12 @@ pkgname=help2man pkgver=1.47.3 -pkgrel=1 +pkgrel=2 pkgdesc="Conversion tool to create man files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/help2man/"; license=('GPL') depends=('perl-locale-gettext') -install=help2man.install source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}) md5sums=('d1d44a7a7b2bd61755a2045d96ecaea0' 'SKIP') Deleted: help2man.install === --- help2man.install2016-05-04 20:22:57 UTC (rev 266886) +++ help2man.install2016-05-04 20:32:51 UTC (rev 266887) @@ -1,18 +0,0 @@ -info_dir=/usr/share/info -info_files=(help2man.info) - -post_install() { - for f in ${info_files[@]}; do -install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install -} - -pre_remove() { - for f in ${info_files[@]}; do -install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -}
[arch-commits] Commit in help2man/trunk (PKGBUILD help2man.install)
Date: Saturday, March 3, 2012 @ 11:12:02 Author: giovanni Revision: 151901 upgpkg: help2man 1.40.6-1 upstream release Modified: help2man/trunk/PKGBUILD help2man/trunk/help2man.install --+ PKGBUILD |6 +++--- help2man.install |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-03-03 16:06:41 UTC (rev 151900) +++ PKGBUILD2012-03-03 16:12:02 UTC (rev 151901) @@ -3,7 +3,7 @@ # Contributor: Paul Mattal pkgname=help2man -pkgver=1.40.5 +pkgver=1.40.6 pkgrel=1 pkgdesc="Conversion tool to create man files" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ depends=('perl-locale-gettext') install=help2man.install source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz";) -md5sums=('75a7d2f93765cd367aab98986a75f88c') +md5sums=('f9ff9c6e65c74a0763596a7ca2b69aa7') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -20,7 +20,7 @@ ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --libdir=/lib + --libdir=/usr/lib make } Modified: help2man.install === --- help2man.install2012-03-03 16:06:41 UTC (rev 151900) +++ help2man.install2012-03-03 16:12:02 UTC (rev 151901) @@ -8,7 +8,7 @@ } post_upgrade() { - post_install $1 + post_install } pre_remove() {
[arch-commits] Commit in help2man/trunk (PKGBUILD help2man.install)
Date: Wednesday, May 25, 2011 @ 09:58:20 Author: giovanni Revision: 124968 upgpkg: help2man 1.39.4-1 upstream release Added: help2man/trunk/help2man.install Modified: help2man/trunk/PKGBUILD --+ PKGBUILD |5 +++-- help2man.install | 18 ++ 2 files changed, 21 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-05-25 13:02:35 UTC (rev 124967) +++ PKGBUILD2011-05-25 13:58:20 UTC (rev 124968) @@ -3,15 +3,16 @@ # Contributor: Paul Mattal pkgname=help2man -pkgver=1.39.2 +pkgver=1.39.4 pkgrel=1 pkgdesc="Conversion tool to create man files" arch=('i686' 'x86_64') url="http://www.gnu.org/software/help2man/"; license=('GPL') depends=('perl-locale-gettext') +install=help2man.install source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz";) -md5sums=('36659da3ba7a9a51813e1c4848900a28') +md5sums=('6b1160697451ba87067231d172285840') build() { cd "${srcdir}/${pkgname}-${pkgver}" Added: help2man.install === --- help2man.install(rev 0) +++ help2man.install2011-05-25 13:58:20 UTC (rev 124968) @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(help2man.info) + +post_install() { + for f in ${info_files[@]}; do +install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do +install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +}