[arch-commits] Commit in gdm/trunk (PKGBUILD)

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


    Date: Sunday, April 15, 2012 @ 04:04:55
  Author: ibiru
Revision: 156171

update to 3.4.1

Modified:
  gdm/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-15 07:56:15 UTC (rev 156170)
+++ PKGBUILD	2012-04-15 08:04:55 UTC (rev 156171)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gdm
-pkgver=3.4.0.1
+pkgver=3.4.1
 pkgrel=1
 pkgdesc="Gnome Display Manager (a reimplementation of xdm)"
 arch=('i686' 'x86_64')
@@ -17,12 +17,12 @@
 optdepends=('gnome-shell: new login interface'
             'fprintd: fingerprint authentication')
 install=gdm.install
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
         fix_external_program_directories.patch
         gdm-vt-allocation-hack.patch
         gdm
         gdm-autologin.pam gdm-fingerprint.pam gdm.pam gdm-password.pam gdm-smartcard.pam gdm-welcome.pam)
-sha256sums=('08686e32f35f65fc5578b48db802fc5e5ca4ca3c3adbbe0d2488ddc1c6f279cd'
+sha256sums=('6292968dff5fc89877b5e1aaa3c7d1484dd3ed2d4f388e935841d053439be665'
             'f68600ccf80f475deb417d58ab3306c4a1ba4622688e2901996c8549c85a9ee6'
             '3c8b588d4af08d94dc93bcd5e4c2a983c3f4fbbbe40833bceac2a1df4f1e8215'
             '272c08d8e8b50bf424d0705ac864d4c18c47ec4f6893b1af732c2efbc86c9550'
@@ -34,7 +34,7 @@
             '39bf3824cc505043dc3136356da16dab9df9f369f1077435a324be2ac16cf834')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
   patch -Np1 -i "$srcdir/fix_external_program_directories.patch"
   patch -Np1 -i "$srcdir/gdm-vt-allocation-hack.patch"
 
@@ -52,14 +52,14 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
   make DESTDIR="$pkgdir" install
 
   for i in gdm-autologin.pam gdm-fingerprint.pam gdm.pam gdm-password.pam gdm-smartcard.pam gdm-welcome.pam;do
       install -m644 "$srcdir/$i" "$pkgdir/etc/pam.d/${i%.pam}"
   done
 
-  install -Dm755 "${srcdir}/gdm" "${pkgdir}/etc/rc.d/gdm"
+  install -Dm755 "$srcdir/gdm" "$pkgdir/etc/rc.d/gdm"
 
   chmod 1770 "$pkgdir/var/log/gdm"
   chmod 700 "$pkgdir/var/lib/gdm/.config/dconf"



More information about the arch-commits mailing list