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

Jan de Groot jgc at nymeria.archlinux.org
Mon Mar 25 09:27:11 UTC 2013


    Date: Monday, March 25, 2013 @ 10:27:10
  Author: jgc
Revision: 180634

upgpkg: pygobject 3.8.0-1

Modified:
  pygobject/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-25 04:42:25 UTC (rev 180633)
+++ PKGBUILD	2013-03-25 09:27:10 UTC (rev 180634)
@@ -3,7 +3,7 @@
 
 pkgbase=pygobject
 pkgname=(python-gobject python2-gobject pygobject-devel)
-pkgver=3.4.2
+pkgver=3.8.0
 pkgrel=1
 arch=('i686' 'x86_64')
 url="https://live.gnome.org/PyGObject"
@@ -11,22 +11,21 @@
 makedepends=('python' 'python2' 'python-cairo' 'python2-cairo' 'gobject-introspection')
 source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver::3}/$pkgbase-$pkgver.tar.xz)
 options=('!libtool')
-sha256sums=('2b87ef3170be3a20a53fbdb348ae4ecb41a72a17ec6531baa67147c3437d2aad')
+sha256sums=('9c57f581ae35587108c978cb116eeb7ec186b50c95b145f62033589ee248b32d')
 
 build() {
-  cp -a "$pkgbase-$pkgver" python2-build
-  mkdir devel
+  mkdir build-py2 build-py3 devel
 
   (
-    cd python2-build
+    cd build-py2
     export PYTHON=/usr/bin/python2
-    ./configure --prefix=/usr
+    ../${pkgbase}-${pkgver}/configure --prefix=/usr
     make
   )
 
   (
-    cd "$pkgbase-$pkgver"
-    ./configure --prefix=/usr
+    cd build-py3
+    ../${pkgbase}-${pkgver}/configure --prefix=/usr
     make
   )
 }
@@ -35,7 +34,7 @@
   pkgdesc="Python 3 bindings for GObject"
   depends=('gobject-introspection' 'python-cairo' "pygobject-devel=$pkgver")
 
-  cd "$pkgbase-$pkgver"
+  cd build-py3
   make DESTDIR="$pkgdir" install
   rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
 }
@@ -44,7 +43,7 @@
   pkgdesc="Python 2 bindings for GObject"
   depends=('gobject-introspection' 'python2-cairo' "pygobject-devel=$pkgver")
 
-  cd "python2-build"
+  cd build-py2
   make DESTDIR="$pkgdir" install
   mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
 }




More information about the arch-commits mailing list