* update libsigc++ to 2.12.1-1
This commit is contained in:
parent
d790ded7a1
commit
d899874302
@ -4,23 +4,30 @@
|
||||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
|
||||
pkgbase=libsigc++
|
||||
pkgname=(libsigc++ libsigc++-docs)
|
||||
pkgver=2.12.0
|
||||
pkgname=(
|
||||
libsigc++
|
||||
libsigc++-docs
|
||||
)
|
||||
pkgver=2.12.1
|
||||
pkgrel=1
|
||||
pkgdesc="Callback Framework for C++"
|
||||
url="https://libsigcplusplus.github.io/libsigcplusplus/"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=(LGPL)
|
||||
depends=(gcc-libs)
|
||||
makedepends=(git meson mm-common)
|
||||
makedepends=(
|
||||
git
|
||||
meson
|
||||
mm-common
|
||||
)
|
||||
options=(!emptydirs)
|
||||
_commit=9ae288305b16e4aee2d2ea1fcfb5968c924fa219 # tags/2.12.0^0
|
||||
_commit=6bef4e0005f00f0844d917866aec7e3b2d829fdf # tags/2.12.1^0
|
||||
source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
b2sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd libsigcplusplus
|
||||
git describe --tags | sed 's/-/+/g'
|
||||
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
@ -28,7 +35,11 @@ prepare() {
|
||||
}
|
||||
|
||||
build() {
|
||||
arch-meson libsigcplusplus build -D maintainer-mode=true
|
||||
local meson_options=(
|
||||
-D maintainer-mode=true
|
||||
)
|
||||
|
||||
arch-meson libsigcplusplus build "${meson_options[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
@ -39,7 +50,10 @@ 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" libsigc-2.0.so)
|
||||
provides=(
|
||||
"libsigc++2.0=$pkgver"
|
||||
libsigc-2.0.so
|
||||
)
|
||||
conflicts=(libsigc++2.0)
|
||||
replaces=(libsigc++2.0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user