aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtkmm/APKBUILD
blob: 5efd0a19f9a1cffe68959870ab7d530dd83be41f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtkmm
pkgver=2.24.5
pkgrel=2
pkgdesc="C++ wrappers for GTK+"
url="https://www.gtkmm.org/en/"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="atkmm-dev glibmm-dev pangomm-dev"
makedepends="$depends_dev intltool gtk+2.0-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

prepare() {
	cd "$builddir"
}

build() {
	cd "$builddir"
	CXXFLAGS="$CXXFLAGS -std=c++11" \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
}
sha512sums="c50e52830977c37181439f4b82a30ac8bead0cf9022d2bec8225f8dc33e08414f863bf67056e1938fae8f888c09a5a6d757acc011fa9331a78caa6bb626dd51e  gtkmm-2.24.5.tar.xz"