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

Jan Steffens heftig at archlinux.org
Wed Mar 25 13:57:21 UTC 2020


    Date: Wednesday, March 25, 2020 @ 13:57:20
  Author: heftig
Revision: 378479

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |  115 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-25 13:55:48 UTC (rev 378478)
+++ PKGBUILD	2020-03-25 13:57:20 UTC (rev 378479)
@@ -1,58 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgbase=libsigc++
-pkgname=('libsigc++' 'libsigc++-docs')
-pkgver=2.10.2
-pkgrel=1
-arch=('x86_64')
-license=('LGPL')
-url="http://libsigc.sourceforge.net/"
-makedepends=('gcc-libs' 'git' 'mm-common' 'doxygen' 'libxslt' 'graphviz')
-options=('!emptydirs')
-_commit=06fabac512bf81164d5b01f877927cb39e9db864  # tags/2.10.2^0
-source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd libsigcplusplus
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd libsigcplusplus
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd libsigcplusplus
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd libsigcplusplus
-  make check
-}
-
-package_libsigc++ () {
-  pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2"
-  depends=('gcc-libs')
-  provides=("libsigc++2.0=${pkgver}")
-  replaces=('libsigc++2.0')
-  conflicts=('libsigc++2.0')
-
-  cd libsigcplusplus
-  sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
-  make DESTDIR="${pkgdir}" install
-}
-
-package_libsigc++-docs() {
-  pkgdesc="Developer documentation for libsigc++"
-  provides=("libsigc++2.0-docs=${pkgver}")
-  replaces=('libsigc++2.0-docs')
-  conflicts=('libsigc++2.0-docs')
-
-  cd libsigcplusplus/docs
-  make DESTDIR="${pkgdir}" install
-}

Copied: libsigc++/repos/extra-x86_64/PKGBUILD (from rev 378478, libsigc++/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-25 13:57:20 UTC (rev 378479)
@@ -0,0 +1,57 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgbase=libsigc++
+pkgname=(libsigc++ libsigc++-docs)
+pkgver=2.10.3
+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=88fdb3a14ec67de233fed22646fc9b14c24367f5  # tags/2.10.3^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
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_libsigc++ () {
+  provides=("libsigc++2.0=${pkgver}")
+  replaces=('libsigc++2.0')
+  conflicts=('libsigc++2.0')
+
+  DESTDIR="$pkgdir" meson install -C build
+
+  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"
+}



More information about the arch-commits mailing list