contrib/libsigc++2/Pkgfile

26 lines
611 B
Plaintext
Raw Normal View History

2007-06-03 14:41:16 +02:00
# Description: A callback framework for C++.
2020-06-01 17:45:48 +02:00
# URL: https://libsigcplusplus.github.io/libsigcplusplus/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: mm-common
2007-06-03 14:41:16 +02:00
2020-10-04 14:48:57 +02:00
name=libsigc++2
version=2.12.0
2007-06-03 14:41:16 +02:00
release=1
2020-10-04 14:48:57 +02:00
source=(https://download.gnome.org/sources/libsigc++/${version%.*}/libsigc++-$version.tar.xz)
2007-06-03 14:41:16 +02:00
build() {
mkdir bld && cd bld
2016-05-18 14:20:23 +02:00
meson setup ../libsigc++-$version \
--prefix=/usr \
--buildtype=release \
-D build-documentation=false \
-D b_lto=true \
-D b_pie=true
2016-05-18 14:20:23 +02:00
ninja -j ${JOBS:-1}
DESTDIR=$PKG ninja install
find $PKG \( -type f -a -perm -g+w \) -exec chmod g-w '{}' +
2007-06-03 14:41:16 +02:00
}