[arch-commits] Commit in libsigc++-3.0/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu May 27 16:41:36 UTC 2021


    Date: Thursday, May 27, 2021 @ 16:41:36
  Author: heftig
Revision: 416561

minor improvements

Modified:
  libsigc++-3.0/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 16:39:20 UTC (rev 416560)
+++ PKGBUILD	2021-05-27 16:41:36 UTC (rev 416561)
@@ -11,7 +11,7 @@
 arch=(x86_64)
 license=(LGPL)
 depends=(gcc-libs)
-makedepends=(git mm-common meson)
+makedepends=(git meson mm-common)
 options=(!emptydirs)
 _commit=657b1b163da89176be90fac1b71bbb7831a823e1  # tags/3.0.7^0
 source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
@@ -36,10 +36,13 @@
 }
 
 package_libsigc++-3.0() {
+  provides=(libsigc-3.0.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_libsigc++-3.0-docs() {
@@ -47,5 +50,5 @@
   depends=()
   options=(!strip)
 
-  mv docs/* "$pkgdir"
+  mv -t "$pkgdir" docs/*
 }



More information about the arch-commits mailing list