[arch-commits] Commit in gobject-introspection/repos (2 files)
Jan Steffens
heftig at archlinux.org
Thu Mar 8 18:09:27 UTC 2018
Date: Thursday, March 8, 2018 @ 18:09:27
Author: heftig
Revision: 318249
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gobject-introspection/repos/gnome-unstable-x86_64/
gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 318248, gobject-introspection/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318248, gobject-introspection/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-03-08 18:09:27 UTC (rev 318249)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gobject-introspection
+pkgname=(gobject-introspection gobject-introspection-runtime)
+pkgver=1.55.2
+pkgrel=1
+pkgdesc="Introspection system for GObject-based libraries"
+url="https://wiki.gnome.org/Projects/GObjectIntrospection"
+arch=(x86_64)
+license=(LGPL GPL)
+depends=(python python-mako)
+makedepends=(cairo git gtk-doc)
+options=(!emptydirs)
+_commit=81c7db8c53cc4dc1a7bb772fdca1bd5ec78708eb # tags/1.55.2^0
+source=("git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgbase
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgbase
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgbase
+ ./configure --prefix=/usr --disable-static --enable-doctool --enable-gtk-doc
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package_gobject-introspection-runtime() {
+ pkgdesc+=" (runtime library)"
+ depends=(glib2)
+ cd $pkgbase
+ make DESTDIR="$pkgdir" install-libLTLIBRARIES install-typelibsDATA
+}
+
+package_gobject-introspection() {
+ depends+=("gobject-introspection-runtime=$pkgver-$pkgrel")
+
+ cd $pkgbase
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" uninstall-libLTLIBRARIES uninstall-typelibsDATA
+}
More information about the arch-commits
mailing list