[arch-commits] Commit in gobject-introspection/repos (3 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:34:24 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:34:23
  Author: heftig
Revision: 155161

db-move: moved gobject-introspection from [gnome-unstable] to [testing] (x86_64)

Added:
  gobject-introspection/repos/testing-x86_64/
  gobject-introspection/repos/testing-x86_64/PKGBUILD
    (from rev 155005, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD)
Deleted:
  gobject-introspection/repos/gnome-unstable-x86_64/

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 155005, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:34:23 UTC (rev 155161)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gobject-introspection
+pkgver=1.32.0
+pkgrel=1
+pkgdesc="Introspection system for GObject-based libraries"
+url="http://live.gnome.org/GObjectInstrospection"
+arch=('x86_64' 'i686')
+license=('LGPL' 'GPL')
+depends=('glib2' 'python2')
+makedepends=('cairo')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('346a729eb8a2a5dc49197d2195e71295167504cc2671298dfd92a32f8e5a01b3')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  sed -i '1s|#!/usr/bin/env python$|&2|' \
+    "$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py
+}



More information about the arch-commits mailing list