Browse Source

[trunk] -> [extra] 'libsigc++-3.0-3.0.7-2' add

master
Dudemanguy 6 months ago
parent
commit
8ddee2cb2b
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 11
      libsigc++-3.0/trunk/PKGBUILD
  2. 11
      libsigc++-3.0/x86_64/extra/PKGBUILD

11
libsigc++-3.0/trunk/PKGBUILD

@ -5,13 +5,13 @@
pkgbase=libsigc++-3.0
pkgname=(libsigc++-3.0 libsigc++-3.0-docs)
pkgver=3.0.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=657b1b163da89176be90fac1b71bbb7831a823e1 # tags/3.0.7^0
source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
@ -36,10 +36,13 @@ check() {
}
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 @@ package_libsigc++-3.0-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

11
libsigc++-3.0/x86_64/extra/PKGBUILD

@ -5,13 +5,13 @@
pkgbase=libsigc++-3.0
pkgname=(libsigc++-3.0 libsigc++-3.0-docs)
pkgver=3.0.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=657b1b163da89176be90fac1b71bbb7831a823e1 # tags/3.0.7^0
source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
@ -36,10 +36,13 @@ check() {
}
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 @@ package_libsigc++-3.0-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save