32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'libsigc++3'
|
|
pkgname=libsigc++3
|
|
version=3.4.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dmaintainer-mode=false -Dbuild-documentation=false
|
|
-Dbuild-examples=false -Dbuild-pdf=false -Dbenchmark=false -Dwarnings=max"
|
|
short_desc="Type-safe callback system for C++ programs"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
|
|
changelog="https://github.com/libsigcplusplus/libsigcplusplus/blob/master/NEWS"
|
|
distfiles="${GNOME_SITE}/libsigc++/${version%.*}/libsigc++-${version}.tar.xz"
|
|
checksum=02e2630ffb5ce93cd52c38423521dfe7063328863a6e96d41d765a6116b8707e
|
|
|
|
pre_configure() {
|
|
# build static library as well as shared
|
|
vsed -i 's,library(,both_libraries(,' sigc++/meson.build
|
|
}
|
|
|
|
libsigc++3-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/sigc++-3.0
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|