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

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


    Date: Saturday, September 15, 2018 @ 20:23:05
  Author: heftig
Revision: 334639

2.58.0+25+gd89e862f3-3

Modified:
  glib2/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-15 20:17:26 UTC (rev 334638)
+++ PKGBUILD	2018-09-15 20:23:05 UTC (rev 334639)
@@ -4,7 +4,7 @@
 pkgbase=glib2
 pkgname=(glib2 glib2-docs)
 pkgver=2.58.0+25+gd89e862f3
-pkgrel=2
+pkgrel=3
 pkgdesc="Low level core library"
 url="https://wiki.gnome.org/Projects/GLib"
 license=(LGPL2.1)
@@ -52,10 +52,8 @@
   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
+  python -m compileall -d /usr/share/glib-2.0/codegen "$pkgdir/usr/share/glib-2.0/codegen"
+  python -O -m compileall -d /usr/share/glib-2.0/codegen "$pkgdir/usr/share/glib-2.0/codegen"
 
   # Split docs
   mv "$pkgdir/usr/share/gtk-doc" "$srcdir"



More information about the arch-commits mailing list