[arch-commits] Commit in gobject-introspection/repos (6 files)
Jan Steffens
heftig at nymeria.archlinux.org
Wed Apr 10 19:13:24 UTC 2013
Date: Wednesday, April 10, 2013 @ 21:13:23
Author: heftig
Revision: 182529
db-move: moved gobject-introspection from [staging] to [testing] (i686, x86_64)
Added:
gobject-introspection/repos/testing-i686/
gobject-introspection/repos/testing-i686/PKGBUILD
(from rev 182430, gobject-introspection/repos/staging-i686/PKGBUILD)
gobject-introspection/repos/testing-x86_64/
gobject-introspection/repos/testing-x86_64/PKGBUILD
(from rev 182430, gobject-introspection/repos/staging-x86_64/PKGBUILD)
Deleted:
gobject-introspection/repos/staging-i686/
gobject-introspection/repos/staging-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 182430, gobject-introspection/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-04-10 19:13:23 UTC (rev 182529)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gobject-introspection
+pkgver=1.36.0
+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' 'python2-mako')
+makedepends=('cairo')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('e3e76d9d428e7534761bf8cdf75338865a4b0872e8052bef51792744608b6383')
+
+build() {
+ cd "$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool
+ 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 182430, gobject-introspection/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-04-10 19:13:23 UTC (rev 182529)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gobject-introspection
+pkgver=1.36.0
+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' 'python2-mako')
+makedepends=('cairo')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('e3e76d9d428e7534761bf8cdf75338865a4b0872e8052bef51792744608b6383')
+
+build() {
+ cd "$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool
+ 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