[arch-commits] Commit in gperf/trunk (PKGBUILD gperf.install)
Andrea Scarpino
andrea at archlinux.org
Tue May 31 21:45:15 UTC 2011
Date: Tuesday, May 31, 2011 @ 17:45:14
Author: andrea
Revision: 125923
upgpkg: gperf 3.0.4-3
fix documentation path (FS#24487)
Modified:
gperf/trunk/PKGBUILD
gperf/trunk/gperf.install
---------------+
PKGBUILD | 7 ++++---
gperf.install | 10 +++-------
2 files changed, 7 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-31 21:34:30 UTC (rev 125922)
+++ PKGBUILD 2011-05-31 21:45:14 UTC (rev 125923)
@@ -4,19 +4,20 @@
pkgname=gperf
pkgver=3.0.4
-pkgrel=2
+pkgrel=3
pkgdesc="Perfect hash function generator"
arch=('x86_64' 'i686')
url="http://www.gnu.org/software/gperf/"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
install=gperf.install
-source=("ftp://ftp.gnu.org/gnu/gperf/${pkgname}-${pkgver}.tar.gz")
+source=("http://ftp.gnu.org/pub/gnu/gperf/${pkgname}-${pkgver}.tar.gz")
md5sums=('c1f1db32fb6598d6a93e6e88796a8632')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ --docdir=/usr/share/gperf/doc/
make
}
Modified: gperf.install
===================================================================
--- gperf.install 2011-05-31 21:34:30 UTC (rev 125922)
+++ gperf.install 2011-05-31 21:45:14 UTC (rev 125923)
@@ -1,11 +1,9 @@
infodir=/usr/share/info
-filelist=(gperf.info.gz)
+file=gperf.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
+ install-info $infodir/$file $infodir/dir 2> /dev/null
}
post_upgrade() {
@@ -14,7 +12,5 @@
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
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
}
More information about the arch-commits
mailing list