32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'libsigc++3'
|
|
pkgname=libsigc++3
|
|
version=3.0.7
|
|
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=bfbe91c0d094ea6bbc6cbd3909b7d98c6561eea8b6d9c0c25add906a6e83d733
|
|
|
|
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"
|
|
}
|
|
}
|