[arch-commits] Commit in glib2/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Sep 15 06:23:09 UTC 2018


    Date: Saturday, September 15, 2018 @ 06:23:09
  Author: heftig
Revision: 334611

2.58.0+25+gd89e862f3-2: FS#59997

Modified:
  glib2/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-15 06:21:48 UTC (rev 334610)
+++ PKGBUILD	2018-09-15 06:23:09 UTC (rev 334611)
@@ -4,7 +4,7 @@
 pkgbase=glib2
 pkgname=(glib2 glib2-docs)
 pkgver=2.58.0+25+gd89e862f3
-pkgrel=1
+pkgrel=2
 pkgdesc="Low level core library"
 url="https://wiki.gnome.org/Projects/GLib"
 license=(LGPL2.1)
@@ -50,10 +50,15 @@
 
 package_glib2() {
   DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
+
+  pushd "$pkgdir"
+  python -m compileall -d / usr/share/glib-2.0/codegen
+  python -O -m compileall -d / usr/share/glib-2.0/codegen
+  popd
+
+  # Split docs
   mv "$pkgdir/usr/share/gtk-doc" "$srcdir"
-  python -m compileall "$pkgdir/usr/share/glib-2.0/codegen"
-  python -O -m compileall "$pkgdir/usr/share/glib-2.0/codegen"
-  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
 }
 
 package_glib2-docs() {



More information about the arch-commits mailing list