32 lines
976 B
Bash
32 lines
976 B
Bash
# Template file for 'libsigc++3'
|
|
pkgname=libsigc++3
|
|
version=3.0.3
|
|
revision=1
|
|
wrksrc=libsigc++-${version}
|
|
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="q66 <daniel@octaforge.org>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
|
|
distfiles="${GNOME_SITE}/libsigc++/${version%.*}/libsigc++-${version}.tar.xz"
|
|
checksum=e4f4866a894bdbe053e4fb22ccc6bc4b6851fd31a4746fdd20b2cf6e87c6edb6
|
|
|
|
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"
|
|
}
|
|
}
|