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

Jan Steffens heftig at archlinux.org
Thu May 27 17:17:35 UTC 2021


    Date: Thursday, May 27, 2021 @ 17:17:34
  Author: heftig
Revision: 416574

2.66.1-2

Modified:
  glibmm/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 16:52:36 UTC (rev 416573)
+++ PKGBUILD	2021-05-27 17:17:34 UTC (rev 416574)
@@ -5,13 +5,13 @@
 pkgbase=glibmm
 pkgname=(glibmm glibmm-docs)
 pkgver=2.66.1
-pkgrel=1
+pkgrel=2
 pkgdesc="C++ bindings for GLib"
 url="https://www.gtkmm.org/"
 arch=(x86_64)
 license=(LGPL)
 depends=(glib2 libsigc++)
-makedepends=(git mm-common perl-xml-parser clang meson)
+makedepends=(git meson mm-common perl-xml-parser clang)
 checkdepends=(glib-networking)
 options=(!emptydirs)
 _commit=6900bf628d07f66e32e2321a46922ebdea15bc21  # tags/2.66.1^0
@@ -19,16 +19,16 @@
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgbase
+  cd glibmm
   git describe --tags | sed 's/-/+/g'
 }
 
 prepare() {
-  cd $pkgbase
+  cd glibmm
 }
 
 build() {
-  arch-meson $pkgbase build -D maintainer-mode=true
+  arch-meson glibmm build -D maintainer-mode=true
   meson compile -C build
 }
 
@@ -37,10 +37,14 @@
 }
 
 package_glibmm() {
+  depends+=(libsigc-2.0.so)
+  provides=(libglibmm-2.4.so)
+
   meson install -C build --destdir "$pkgdir"
 
+  # Split -docs
   mkdir -p docs/usr/share
-  mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
+  mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
 }
 
 package_glibmm-docs() {
@@ -48,5 +52,5 @@
   depends=()
   options=(!strip)
 
-  mv docs/* "$pkgdir"
+  mv -t "$pkgdir" docs/*
 }



More information about the arch-commits mailing list