mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/help2man to 1.39.4
This commit is contained in:
parent
0cb5e5b651
commit
9e1a3eec7c
2 changed files with 22 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id: PKGBUILD 116002 2011-03-22 15:28:48Z giovanni $
|
||||
# $Id: PKGBUILD 124968 2011-05-25 13:58:20Z giovanni $
|
||||
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
||||
# Contributor: Paul Mattal <paul@mattal.com>
|
||||
|
||||
|
@ -8,15 +8,16 @@
|
|||
plugrel=1
|
||||
|
||||
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}"
|
||||
|
|
18
extra/help2man/help2man.install
Normal file
18
extra/help2man/help2man.install
Normal file
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue