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

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


    Date: Thursday, May 27, 2021 @ 16:52:36
  Author: heftig
Revision: 416573

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |  121 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 16:52:36 UTC (rev 416572)
+++ PKGBUILD	2021-05-27 16:52:36 UTC (rev 416573)
@@ -1,60 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgbase=libsigc++
-pkgname=(libsigc++ libsigc++-docs)
-pkgver=2.10.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=1b47767cfac93c902d413874a6257d5934712ea8  # tags/2.10.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
-}
-
-# Do not remove the space before the () or commitpkg will
-# accidentally to run this function on the system (!!!) 
-package_libsigc++ () {
-  provides=("libsigc++2.0=${pkgver}")
-  replaces=('libsigc++2.0')
-  conflicts=('libsigc++2.0')
-
-  meson install -C build --destdir "$pkgdir"
-
-  mkdir -p docs/usr/share
-  mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
-}
-
-package_libsigc++-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-  provides=("libsigc++2.0-docs=${pkgver}")
-  replaces=('libsigc++2.0-docs')
-  conflicts=('libsigc++2.0-docs')
-  options=(!strip)
-
-  mv docs/* "$pkgdir"
-}

Copied: libsigc++/repos/extra-x86_64/PKGBUILD (from rev 416571, libsigc++/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-27 16:52:36 UTC (rev 416573)
@@ -0,0 +1,61 @@
+# 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++
+pkgname=(libsigc++ libsigc++-docs)
+pkgver=2.10.7
+pkgrel=2
+pkgdesc="Callback Framework for C++"
+url="https://libsigcplusplus.github.io/libsigcplusplus/"
+arch=(x86_64)
+license=(LGPL)
+depends=(gcc-libs)
+makedepends=(git meson mm-common)
+options=(!emptydirs)
+_commit=1b47767cfac93c902d413874a6257d5934712ea8  # tags/2.10.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
+}
+
+# Do not remove the space before the () or commitpkg will
+# accidentally to run this function on the system (!!!) 
+package_libsigc++ () {
+  provides=("libsigc++2.0=$pkgver" libsigc-2.0.so)
+  conflicts=(libsigc++2.0)
+  replaces=(libsigc++2.0)
+
+  meson install -C build --destdir "$pkgdir"
+
+  # Split -docs
+  mkdir -p docs/usr/share
+  mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
+}
+
+package_libsigc++-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  provides=("libsigc++2.0-docs=$pkgver")
+  conflicts=(libsigc++2.0-docs)
+  replaces=(libsigc++2.0-docs)
+  options=(!strip)
+
+  mv -t "$pkgdir" docs/*
+}



More information about the arch-commits mailing list