blob: 13ab41043e668acdd650f05919be41e87457080c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=libsigc++3
pkgver=3.0.2
pkgrel=2
pkgdesc="Typesafe callback system for standard C++"
url="https://github.com/libsigcplusplus/libsigcplusplus"
arch="all"
license="LGPL-3.0-or-later"
makedepends="boost-dev meson perl"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libsigc++/${pkgver%.*}/libsigc++-$pkgver.tar.xz"
builddir="$srcdir/libsigc++-$pkgver"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
build
ninja -C build
}
check() {
ninja -C build test
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="8336ed5a82fb47e0315753226e2c2dc43b1ef2717ff6a17e7f16629e6330479ee0f91fc32bedc6fea05803401411207e785c1a501d235be5e0e9c1686ca5cddc libsigc++-3.0.2.tar.xz"
|