[arch-commits] Commit in gnome-screensaver/trunk (PKGBUILD gnome-screensaver.install)

Ionut Biru ibiru at archlinux.org
Sun Apr 15 04:24:21 EDT 2012


    Date: Sunday, April 15, 2012 @ 04:24:20
  Author: ibiru
Revision: 156173

update to 3.4.1

Modified:
  gnome-screensaver/trunk/PKGBUILD
  gnome-screensaver/trunk/gnome-screensaver.install

---------------------------+
 PKGBUILD                  |   14 +++++++-------
 gnome-screensaver.install |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-15 08:17:07 UTC (rev 156172)
+++ PKGBUILD	2012-04-15 08:24:20 UTC (rev 156173)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-screensaver
-pkgver=3.4.0
+pkgver=3.4.1
 pkgrel=1
 pkgdesc="Screensaver designed to integrate well with the GNOME desktop."
 arch=('i686' 'x86_64')
@@ -15,13 +15,13 @@
 groups=('gnome')
 options=(!emptydirs)
 install=gnome-screensaver.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
        gnome-screensaver.pam)
-sha256sums=('8d73e687f41975d66ee1fa56986d901a0bbdf4094f429cdbbed4a19016a38974'
+sha256sums=('d54a253f826ff6cd48eba53724339896a6dea39029848b6a8d5972c8e162069b'
             'c19870c4f2d6e91ba0eea2603753a74e0c5c82ff5fa3cacb1198027a38d0a6cb')
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc \
       --libexecdir=/usr/lib/gnome-screensaver \
       --localstatedir=/var \
@@ -31,7 +31,7 @@
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 "${srcdir}/gnome-screensaver.pam" "${pkgdir}/etc/pam.d/gnome-screensaver"
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir/gnome-screensaver.pam" "$pkgdir/etc/pam.d/gnome-screensaver"
 }

Modified: gnome-screensaver.install
===================================================================
--- gnome-screensaver.install	2012-04-15 08:17:07 UTC (rev 156172)
+++ gnome-screensaver.install	2012-04-15 08:24:20 UTC (rev 156173)
@@ -2,6 +2,6 @@
 
 pre_upgrade() {
     if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
-        usr/sbin/gconfpkg --uninstall ${pkgname}
+        gconfpkg --uninstall ${pkgname}
     fi
 }



More information about the arch-commits mailing list