aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsigc++3/APKBUILD
blob: 7ebc0e7dbe90b0ab04c7d7c09648f67f2f8de5e0 (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.3
pkgrel=0
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="4ba1eeb1296ea8b3e911a7c6ce66c402f877485fd3da1ff1c2e6cfe89a986788cb9bcc9ff8d8ef57dc6dbaa046d7a18d30f6b32a0235fe66fb7afae4ec12e13e  libsigc++-3.0.3.tar.xz"