[arch-commits] Commit in xfprint/trunk (PKGBUILD xfprint.install)
Jan de Groot
jgc at archlinux.org
Sat Jul 19 00:10:25 UTC 2008
Date: Friday, July 18, 2008 @ 20:10:24
Author: jgc
Revision: 5632
upgpkg: xfprint 4.4.2-3
Remove update-desktop-database calls
Modified:
xfprint/trunk/PKGBUILD
xfprint/trunk/xfprint.install
-----------------+
PKGBUILD | 6 +++---
xfprint.install | 7 -------
2 files changed, 3 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-07-19 00:07:11 UTC (rev 5631)
+++ PKGBUILD 2008-07-19 00:10:24 UTC (rev 5632)
@@ -3,7 +3,7 @@
pkgname=xfprint
pkgver=4.4.2
-pkgrel=2
+pkgrel=3
pkgdesc="A print dialog and a printer manager for Xfce"
arch=(i686 x86_64)
license=('GPL2')
@@ -19,7 +19,7 @@
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var --disable-static
+ --localstatedir=/var --disable-static || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install
+ make DESTDIR=${startdir}/pkg install || return 1
}
Modified: xfprint.install
===================================================================
--- xfprint.install 2008-07-19 00:07:11 UTC (rev 5631)
+++ xfprint.install 2008-07-19 00:10:24 UTC (rev 5632)
@@ -1,5 +1,4 @@
post_install() {
- update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
@@ -8,11 +7,5 @@
}
post_remove() {
- update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list