[arch-commits] Commit in gobject-introspection/repos (6 files)
Jan de Groot
jgc at archlinux.org
Thu Oct 18 19:25:26 UTC 2012
Date: Thursday, October 18, 2012 @ 15:25:25
Author: jgc
Revision: 169206
db-move: moved gobject-introspection from [gnome-unstable] to [testing] (i686, x86_64)
Added:
gobject-introspection/repos/testing-i686/
gobject-introspection/repos/testing-i686/PKGBUILD
(from rev 169138, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD)
gobject-introspection/repos/testing-x86_64/
gobject-introspection/repos/testing-x86_64/PKGBUILD
(from rev 169138, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD)
Deleted:
gobject-introspection/repos/gnome-unstable-i686/
gobject-introspection/repos/gnome-unstable-x86_64/
-------------------------+
testing-i686/PKGBUILD | 29 +++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 29 +++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
Copied: gobject-introspection/repos/testing-i686/PKGBUILD (from rev 169138, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-10-18 19:25:25 UTC (rev 169206)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gobject-introspection
+pkgver=1.34.1.1
+pkgrel=1
+pkgdesc="Introspection system for GObject-based libraries"
+url="https://live.gnome.org/GObjectIntrospection"
+arch=('x86_64' 'i686')
+license=('LGPL' 'GPL')
+depends=('glib2' 'python2')
+makedepends=('cairo')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b')
+
+build() {
+ cd "$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ sed -i '1s|#!/usr/bin/env python$|&2|' \
+ "$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py
+}
Copied: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 169138, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-10-18 19:25:25 UTC (rev 169206)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gobject-introspection
+pkgver=1.34.1.1
+pkgrel=1
+pkgdesc="Introspection system for GObject-based libraries"
+url="https://live.gnome.org/GObjectIntrospection"
+arch=('x86_64' 'i686')
+license=('LGPL' 'GPL')
+depends=('glib2' 'python2')
+makedepends=('cairo')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b')
+
+build() {
+ cd "$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd "$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