Browse Source

[trunk] -> [extra] 'libsigc++-2.10.7-2' add

master
Dudemanguy 6 months ago
parent
commit
ac76a3606f
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 23
      libsigc++/trunk/PKGBUILD
  2. 23
      libsigc++/x86_64/extra/PKGBUILD

23
libsigc++/trunk/PKGBUILD

@ -1,17 +1,17 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase=libsigc++
pkgname=(libsigc++ libsigc++-docs)
pkgver=2.10.7
pkgrel=1
pkgrel=2
pkgdesc="Callback Framework for C++"
url="https://libsigcplusplus.github.io/libsigcplusplus/"
arch=(x86_64)
license=(LGPL)
depends=(gcc-libs)
makedepends=(git mm-common meson)
makedepends=(git meson mm-common)
options=(!emptydirs)
_commit=1b47767cfac93c902d413874a6257d5934712ea8 # tags/2.10.7^0
source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
@ -38,23 +38,24 @@ check() {
# 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')
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 "$pkgdir"/usr/share/{devhelp,doc} 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}")
replaces=('libsigc++2.0-docs')
conflicts=('libsigc++2.0-docs')
provides=("libsigc++2.0-docs=$pkgver")
conflicts=(libsigc++2.0-docs)
replaces=(libsigc++2.0-docs)
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

23
libsigc++/x86_64/extra/PKGBUILD

@ -1,17 +1,17 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase=libsigc++
pkgname=(libsigc++ libsigc++-docs)
pkgver=2.10.7
pkgrel=1
pkgrel=2
pkgdesc="Callback Framework for C++"
url="https://libsigcplusplus.github.io/libsigcplusplus/"
arch=(x86_64)
license=(LGPL)
depends=(gcc-libs)
makedepends=(git mm-common meson)
makedepends=(git meson mm-common)
options=(!emptydirs)
_commit=1b47767cfac93c902d413874a6257d5934712ea8 # tags/2.10.7^0
source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
@ -38,23 +38,24 @@ check() {
# 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')
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 "$pkgdir"/usr/share/{devhelp,doc} 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}")
replaces=('libsigc++2.0-docs')
conflicts=('libsigc++2.0-docs')
provides=("libsigc++2.0-docs=$pkgver")
conflicts=(libsigc++2.0-docs)
replaces=(libsigc++2.0-docs)
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save