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

Jan Steffens heftig at archlinux.org
Wed Mar 29 19:20:29 UTC 2017


    Date: Wednesday, March 29, 2017 @ 19:20:28
  Author: heftig
Revision: 291802

2.52.0-1

Modified:
  glib2/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-29 19:15:16 UTC (rev 291801)
+++ PKGBUILD	2017-03-29 19:20:28 UTC (rev 291802)
@@ -3,7 +3,7 @@
 
 pkgbase=glib2
 pkgname=(glib2 glib2-docs)
-pkgver=2.50.3
+pkgver=2.52.0
 pkgrel=1
 pkgdesc="Low level core library"
 url="http://www.gtk.org/"
@@ -10,7 +10,7 @@
 arch=(i686 x86_64)
 makedepends=(gettext gtk-doc libffi pcre zlib shared-mime-info python libelf git util-linux)
 checkdepends=(desktop-file-utils dbus)
-_commit=9da3e7226d20715962f679812ce7632513b7e06c  # tags/2.50.3^0
+_commit=bce36c2d46213ff397acbd130acd9bcfa1ca0eaa  # tags/2.52.0^0
 source=("git+https://git.gnome.org/browse/glib#commit=$_commit"
         glib-compile-schemas.hook
         gio-querymodules.hook
@@ -56,14 +56,13 @@
   depends=(pcre libffi libutil-linux)
   optdepends=('python: for gdbus-codegen and gtester-report'
               'libelf: gresource inspection tool')
-  options=(!docs !emptydirs)
+  options=(!emptydirs)
   license=(LGPL)
 
   cd glib
-  make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install
+  rm -r "$pkgdir/usr/share/gtk-doc"
 
-  chmod -x "$pkgdir"/usr/share/bash-completion/completions/*
-
   # install hooks
   install -d "$pkgdir/usr/share/libalpm/hooks/"
   install -m644 "$srcdir"/{glib-compile-schemas,gio-querymodules}.hook \
@@ -75,10 +74,11 @@
   conflicts=(gobject2-docs)
   replaces=(gobject2-docs)
   license=(custom)
-  options=(docs !emptydirs)
+  options=(!emptydirs)
   
   cd glib/docs
   make DESTDIR="$pkgdir" install
   rm -r "$pkgdir/usr/share/man"
+
   install -Dm644 reference/COPYING "$pkgdir/usr/share/licenses/glib2-docs/COPYING"
 }



More information about the arch-commits mailing list