[arch-commits] Commit in gv/trunk (ChangeLog PKGBUILD gv.install)
Eric BĂ©langer
eric at archlinux.org
Sat Jun 12 19:37:44 UTC 2010
Date: Saturday, June 12, 2010 @ 15:37:43
Author: eric
Revision: 82511
upgpkg: gv 3.7.1-1
Upstream update, Removed unneeded loop in gv.install
Modified:
gv/trunk/ChangeLog
gv/trunk/PKGBUILD
gv/trunk/gv.install
------------+
ChangeLog | 6 ++++++
PKGBUILD | 12 ++++++++----
gv.install | 6 +-----
3 files changed, 15 insertions(+), 9 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2010-06-12 19:36:54 UTC (rev 82510)
+++ ChangeLog 2010-06-12 19:37:43 UTC (rev 82511)
@@ -1,3 +1,9 @@
+2010-06-12 Eric Belanger <eric at archlinux.org>
+
+ * gv 3.7.1
+ * Upstream update
+ * Removed unneeded loop in gv.install
+
2010-01-23 Eric Belanger <eric at archlinux.org>
* gv 3.6.8-1
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-06-12 19:36:54 UTC (rev 82510)
+++ PKGBUILD 2010-06-12 19:37:43 UTC (rev 82511)
@@ -3,18 +3,18 @@
# Contributor: Judd Vinet <jvinet at zeroflux.org>
pkgname=gv
-pkgver=3.6.8
+pkgver=3.7.1
pkgrel=1
pkgdesc="A program to view PostScript and PDF documents"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gv/"
license=('GPL')
-depends=('xaw3d>=1.5E' 'ghostscript')
+depends=('xaw3d' 'ghostscript')
install=gv.install
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png)
-md5sums=('581ef7834c0e07ac1536b1ee8faa11d5' 'cf04652952f2d0903bc7578b4826f50c'\
+md5sums=('bf4823d00d8e431f97dbcb7dd87c46ac' 'cf04652952f2d0903bc7578b4826f50c'\
'ab0e3879dbe39e59ad1c923020c28a86')
-sha1sums=('18594cb42a5f7b1453af2bd9a5598f781c7a1c9f' 'c8230fe08ee6d22525678a97832f44941237d174'\
+sha1sums=('05fcf76f29de77e67379bae7e9ca1c8a26bbf6e1' 'c8230fe08ee6d22525678a97832f44941237d174'\
'35b9168e526527001b1b5b8ee34a5b69d9369590')
build() {
@@ -22,6 +22,10 @@
sed -i -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" src/Makefile.{am,in} || return 1
./configure --prefix=/usr || return 1
make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 ../gv.desktop "${pkgdir}/usr/share/applications/gv.desktop" || return 1
install -D -m644 ../gv.png "${pkgdir}/usr/share/pixmaps/gv.png" || return 1
Modified: gv.install
===================================================================
--- gv.install 2010-06-12 19:36:54 UTC (rev 82510)
+++ gv.install 2010-06-12 19:37:43 UTC (rev 82511)
@@ -1,11 +1,9 @@
infodir=/usr/share/info
-filelist=(gv.info.gz)
+file=gv.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() {
@@ -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
}
More information about the arch-commits
mailing list