[arch-commits] Commit in gobject-introspection/repos (6 files)
Jan de Groot
jgc at archlinux.org
Wed Mar 25 15:35:26 UTC 2015
Date: Wednesday, March 25, 2015 @ 16:35:25
Author: jgc
Revision: 234833
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 234786, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD)
gobject-introspection/repos/testing-x86_64/
gobject-introspection/repos/testing-x86_64/PKGBUILD
(from rev 234786, 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 | 41 +++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: gobject-introspection/repos/testing-i686/PKGBUILD (from rev 234786, gobject-introspection/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-03-25 15:35:25 UTC (rev 234833)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gobject-introspection
+pkgname=('gobject-introspection' 'gobject-introspection-runtime')
+pkgver=1.44.0
+pkgrel=1
+url="https://live.gnome.org/GObjectIntrospection"
+arch=('x86_64' 'i686')
+license=('LGPL' 'GPL')
+makedepends=('cairo' 'python2' 'python2-mako')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:4}/$pkgbase-$pkgver.tar.xz)
+sha256sums=('6f0c2c28aeaa37b5037acbf21558098c4f95029b666db755d3a12c2f1e1627ad')
+
+prepare() {
+ cd $pkgbase-$pkgver
+ sed -i '1s|#!/usr/bin/env python$|&2|' giscanner/*.py
+}
+
+build() {
+ cd $pkgbase-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool
+ make
+}
+
+package_gobject-introspection-runtime() {
+ pkgdesc="Introspection system for GObject-based libraries - runtime files"
+ depends=('glib2')
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install-libLTLIBRARIES install-typelibsDATA
+}
+
+package_gobject-introspection() {
+ pkgdesc="Introspection system for GObject-based libraries"
+ depends=("gobject-introspection-runtime=$pkgver" 'python2-mako' 'python2')
+ options=('!emptydirs')
+
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" uninstall-libLTLIBRARIES uninstall-typelibsDATA
+}
Copied: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 234786, gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-03-25 15:35:25 UTC (rev 234833)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gobject-introspection
+pkgname=('gobject-introspection' 'gobject-introspection-runtime')
+pkgver=1.44.0
+pkgrel=1
+url="https://live.gnome.org/GObjectIntrospection"
+arch=('x86_64' 'i686')
+license=('LGPL' 'GPL')
+makedepends=('cairo' 'python2' 'python2-mako')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:4}/$pkgbase-$pkgver.tar.xz)
+sha256sums=('6f0c2c28aeaa37b5037acbf21558098c4f95029b666db755d3a12c2f1e1627ad')
+
+prepare() {
+ cd $pkgbase-$pkgver
+ sed -i '1s|#!/usr/bin/env python$|&2|' giscanner/*.py
+}
+
+build() {
+ cd $pkgbase-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool
+ make
+}
+
+package_gobject-introspection-runtime() {
+ pkgdesc="Introspection system for GObject-based libraries - runtime files"
+ depends=('glib2')
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install-libLTLIBRARIES install-typelibsDATA
+}
+
+package_gobject-introspection() {
+ pkgdesc="Introspection system for GObject-based libraries"
+ depends=("gobject-introspection-runtime=$pkgver" 'python2-mako' 'python2')
+ options=('!emptydirs')
+
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" uninstall-libLTLIBRARIES uninstall-typelibsDATA
+}
More information about the arch-commits
mailing list