[arch-commits] Commit in libsigc++-3.0/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu May 20 23:40:05 UTC 2021


    Date: Thursday, May 20, 2021 @ 23:40:05
  Author: heftig
Revision: 415810

archrelease: copy trunk to extra-x86_64

Added:
  libsigc++-3.0/repos/extra-x86_64/
  libsigc++-3.0/repos/extra-x86_64/PKGBUILD
    (from rev 415809, libsigc++-3.0/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: libsigc++-3.0/repos/extra-x86_64/PKGBUILD (from rev 415809, libsigc++-3.0/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2021-05-20 23:40:05 UTC (rev 415810)
@@ -0,0 +1,51 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgbase=libsigc++-3.0
+pkgname=(libsigc++-3.0 libsigc++-3.0-docs)
+pkgver=3.0.7
+pkgrel=1
+pkgdesc="Callback Framework for C++"
+url="https://libsigcplusplus.github.io/libsigcplusplus/"
+arch=(x86_64)
+license=(LGPL)
+depends=(gcc-libs)
+makedepends=(git mm-common meson)
+options=(!emptydirs)
+_commit=657b1b163da89176be90fac1b71bbb7831a823e1  # tags/3.0.7^0
+source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libsigcplusplus
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd libsigcplusplus
+}
+
+build() {
+  arch-meson libsigcplusplus build -D maintainer-mode=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_libsigc++-3.0() {
+  meson install -C build --destdir "$pkgdir"
+
+  mkdir -p docs/usr/share
+  mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
+}
+
+package_libsigc++-3.0-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  options=(!strip)
+
+  mv docs/* "$pkgdir"
+}



More information about the arch-commits mailing list