extra/help2man to 1.47.3-2

This commit is contained in:
Kevin Mihelich 2016-05-05 00:50:20 +00:00
parent 2182756a55
commit 11617db7e9
2 changed files with 1 additions and 20 deletions

View file

@ -7,13 +7,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')

View file

@ -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
}