Date: Saturday, September 15, 2018 @ 20:23:35 Author: heftig Revision: 334641
archrelease: copy trunk to testing-x86_64 Added: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 334640, gobject-introspection/trunk/PKGBUILD) Deleted: gobject-introspection/repos/testing-x86_64/PKGBUILD ----------+ PKGBUILD | 112 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 55 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-15 20:23:27 UTC (rev 334640) +++ PKGBUILD 2018-09-15 20:23:35 UTC (rev 334641) @@ -1,57 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> -# Maintainer: Jan de Groot <j...@archlinux.org> - -pkgbase=gobject-introspection -pkgname=(gobject-introspection gobject-introspection-runtime) -pkgver=1.58.0+2+g1f1dd7f4 -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 python-sphinx meson) -options=(!emptydirs) -_commit=1f1dd7f4857c13db507ad663664a5e4b8d620ffc # gnome-3-30 -source=("git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#commit=$_commit") -sha512sums=('SKIP') - -pkgver() { - cd $pkgbase - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd $pkgbase -} - -build() { - arch-meson $pkgbase build -D cairo=true -D gtk-doc=true - ninja -C build -} - -check() { - meson test -C build -} - -package_gobject-introspection() { - depends+=("gobject-introspection-runtime=$pkgver-$pkgrel") - - DESTDIR="$pkgdir" meson install -C build - - pushd "$pkgdir" - python -m compileall -d / usr/lib/gobject-introspection - python -O -m compileall -d / usr/lib/gobject-introspection - popd - -### Split runtime - mkdir -p "$srcdir/runtime/lib" - mv "$pkgdir"/usr/lib/{lib*,girepository-*} "$srcdir/runtime/lib" -} - -package_gobject-introspection-runtime() { - pkgdesc+=" (runtime library)" - depends=(glib2) - - mv "$srcdir/runtime" "$pkgdir/usr" -} Copied: gobject-introspection/repos/testing-x86_64/PKGBUILD (from rev 334640, gobject-introspection/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-15 20:23:35 UTC (rev 334641) @@ -0,0 +1,55 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgbase=gobject-introspection +pkgname=(gobject-introspection gobject-introspection-runtime) +pkgver=1.58.0+2+g1f1dd7f4 +pkgrel=2 +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 python-sphinx meson) +options=(!emptydirs) +_commit=1f1dd7f4857c13db507ad663664a5e4b8d620ffc # gnome-3-30 +source=("git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#commit=$_commit") +sha512sums=('SKIP') + +pkgver() { + cd $pkgbase + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgbase +} + +build() { + arch-meson $pkgbase build -D cairo=true -D gtk-doc=true + ninja -C build +} + +check() { + meson test -C build +} + +package_gobject-introspection() { + depends+=("gobject-introspection-runtime=$pkgver-$pkgrel") + + DESTDIR="$pkgdir" meson install -C build + + python -m compileall -d /usr/lib/gobject-introspection "$pkgdir/usr/lib/gobject-introspection" + python -O -m compileall -d /usr/lib/gobject-introspection "$pkgdir/usr/lib/gobject-introspection" + +### Split runtime + mkdir -p "$srcdir/runtime/lib" + mv "$pkgdir"/usr/lib/{lib*,girepository-*} "$srcdir/runtime/lib" +} + +package_gobject-introspection-runtime() { + pkgdesc+=" (runtime library)" + depends=(glib2) + + mv "$srcdir/runtime" "$pkgdir/usr" +}