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

Ionut Biru ibiru at archlinux.org
Fri Mar 9 07:56:32 EST 2012


    Date: Friday, March 9, 2012 @ 07:56:32
  Author: ibiru
Revision: 152737

update to 3.1.1

Modified:
  pygobject/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-09 12:35:48 UTC (rev 152736)
+++ PKGBUILD	2012-03-09 12:56:32 UTC (rev 152737)
@@ -3,7 +3,7 @@
 
 pkgbase=pygobject
 pkgname=(python-gobject python2-gobject pygobject-devel)
-pkgver=3.0.3
+pkgver=3.1.1
 pkgrel=1
 arch=('i686' 'x86_64')
 url="https://live.gnome.org/PyGObject"
@@ -11,10 +11,9 @@
 makedepends=('python' 'python2' 'python-cairo' 'python2-cairo' 'gobject-introspection')
 source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
 options=('!libtool')
-sha256sums=('088b1e682be02a969a0a3f2e650e4fe72bb3638ee8229819841d3e8f4cde2d7c')
+sha256sums=('ae6da0f95c0d6b93694191133a3b046f7811ba047e3bd5e9c13c9e6907f71515')
 
 build() {
-  cd "$srcdir"
   cp -a "$pkgbase-$pkgver" python2-build
   mkdir devel
 
@@ -36,7 +35,7 @@
   pkgdesc="Python 3 bindings for GObject"
   depends=('gobject-introspection' 'python-cairo' "pygobject-devel=$pkgver")
 
-  cd "$srcdir/$pkgbase-$pkgver"
+  cd "$pkgbase-$pkgver"
   make DESTDIR="$pkgdir" install
   rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
 }
@@ -45,14 +44,14 @@
   pkgdesc="Python 2 bindings for GObject"
   depends=('gobject-introspection' 'python2-cairo' "pygobject-devel=$pkgver")
 
-  cd "$srcdir/python2-build"
+  cd "python2-build"
   make DESTDIR="$pkgdir" install
   mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
 }
 
 package_pygobject-devel() {
   pkgdesc="Development files for the pygobject bindings"
-  cd "$srcdir/devel"
+  cd "devel"
   mkdir -p "$pkgdir"/usr/{include,lib}
   mv include "$pkgdir/usr/"
   mv pkgconfig "$pkgdir/usr/lib/"



More information about the arch-commits mailing list