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

Ionut Biru ibiru at archlinux.org
Mon Mar 5 14:39:02 EST 2012


    Date: Monday, March 5, 2012 @ 14:39:01
  Author: ibiru
Revision: 152244

update to 1.31.20

Modified:
  gobject-introspection/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-05 19:24:43 UTC (rev 152243)
+++ PKGBUILD	2012-03-05 19:39:01 UTC (rev 152244)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gobject-introspection
-pkgver=1.30.0
+pkgver=1.31.20
 pkgrel=1
 pkgdesc="Introspection system for GObject-based libraries"
 url="http://live.gnome.org/GObjectInstrospection"
@@ -11,19 +11,19 @@
 depends=('glib2' 'python2')
 makedepends=('cairo')
 options=('!libtool')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.30/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('8e4274579096e983fad3148cdab50295a4701e45cd9a4e02f7242fc0a04c47b2')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('e1552884b642e7e5a56a175ae85bfdebfd16c29a7bbe4f6ca9cdf591e333f070')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$srcdir/$pkgname-$pkgver"
   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 
   sed -i '1s|#!/usr/bin/env python$|&2|' \
-    "${pkgdir}"/usr/lib/gobject-introspection/giscanner/*.py
+    "$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py
 }



More information about the arch-commits mailing list