# Description: A callback framework for C++.
# URL: https://libsigcplusplus.github.io/libsigcplusplus/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: mm-common

name=libsigc++
version=3.4.0
release=1
source=(https://download.gnome.org/sources/libsigc++/${version%.*}/$name-$version.tar.xz)

build() {
	meson setup $name-$version build \
		--prefix=/usr \
		--buildtype=plain \
		-D build-documentation=false \
		-D build-examples=false \
		-D build-tests=false

	meson compile -C build -j ${JOBS:-1}
	DESTDIR=$PKG meson install -C build
}
