core/glib2: update

This commit is contained in:
Kevin Mihelich 2020-12-15 01:41:12 +00:00
parent 42e3e37b36
commit fa30eac1a5

View file

@ -1,8 +1,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable docs
# remove when bumped upstream
pkgbase=glib2
pkgname=(glib2 glib2-docs)
@ -43,7 +42,7 @@ build() {
-D selinux=disabled \
-D sysprof=enabled \
-D man=true \
-D gtk_doc=false
-D gtk_doc=true
meson compile -C build
}
@ -71,7 +70,7 @@ package_glib2() {
"$pkgdir/usr/share/glib-2.0/codegen"
# Split docs
#mv "$pkgdir/usr/share/gtk-doc" "$srcdir"
mv "$pkgdir/usr/share/gtk-doc" "$srcdir"
}
package_glib2-docs() {
@ -80,7 +79,7 @@ package_glib2-docs() {
license+=(custom)
mkdir -p "$pkgdir/usr/share"
#mv gtk-doc "$pkgdir/usr/share"
mv gtk-doc "$pkgdir/usr/share"
install -Dt "$pkgdir/usr/share/licenses/glib2-docs" -m644 glib/docs/reference/COPYING
}