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

Ionut Biru ibiru at archlinux.org
Mon Mar 5 14:21:52 EST 2012


    Date: Monday, March 5, 2012 @ 14:21:51
  Author: ibiru
Revision: 152242

update to 2.31.20

Modified:
  glib2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-05 19:12:45 UTC (rev 152241)
+++ PKGBUILD	2012-03-05 19:21:51 UTC (rev 152242)
@@ -2,8 +2,8 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=glib2
-pkgver=2.30.2
-pkgrel=2
+pkgver=2.31.20
+pkgrel=1
 pkgdesc="Common C routines used by GTK+ and other libs"
 url="http://www.gtk.org/"
 arch=(i686 x86_64)
@@ -12,15 +12,15 @@
 makedepends=('pkgconfig' 'python2')
 optdepends=('python2: for gdbus-codegen')
 options=('!libtool' '!docs' '!emptydirs')
-source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.30/glib-${pkgver}.tar.xz
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
         glib2.sh
         glib2.csh)
-sha256sums=('f0e91e6333321ddb48fa12b5c66f56c3d5f05325748c66dd2e9016c278ff8e82'
+sha256sums=('3475e1d866c462a36b89d4bae91181513c390ad0af25f445618321da1e022c2a'
             '9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
             '8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3')
 
 build() {
-  cd "${srcdir}/glib-${pkgver}"
+  cd "$srcdir/glib-$pkgver"
   PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
       --sysconfdir=/etc \
       --with-pcre=system \
@@ -29,15 +29,15 @@
 }
 
 package() {
-  cd "${srcdir}/glib-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$srcdir/glib-$pkgver"
+  make DESTDIR="$pkgdir" install
 
-  install -d "${pkgdir}/etc/profile.d"
-  install -m755 "${srcdir}/glib2.sh" "${pkgdir}/etc/profile.d/"
-  install -m755 "${srcdir}/glib2.csh" "${pkgdir}/etc/profile.d/"
+  install -d "$pkgdir/etc/profile.d"
+  install -m755 "$srcdir/glib2.sh" "$pkgdir/etc/profile.d/"
+  install -m755 "$srcdir/glib2.csh" "$pkgdir/etc/profile.d/"
 
-  for _i in "${pkgdir}/etc/bash_completion.d/"*; do
-      chmod -x "${_i}"
+  for _i in "$pkgdir/etc/bash_completion.d/"*; do
+      chmod -x "$_i"
   done
   sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" "$pkgdir"/usr/bin/gdbus-codegen
 }



More information about the arch-commits mailing list