aboutsummaryrefslogtreecommitdiffstats
path: root/community/gtkmm3/APKBUILD
blob: 7ed066f43bbcf264dd3612e110c75d9d714384d9 (plain) (blame)
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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gtkmm3
pkgver=3.24.1
pkgrel=1
pkgdesc="C++ wrappers for GTK+"
url="https://www.gtkmm.org/"
arch="all"
license="LGPL-2.1-or-later"
options="!check"
makedepends="atkmm-dev gtk+3.0-dev glibmm-dev pangomm-dev intltool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gtkmm/${pkgver%.*}/gtkmm-$pkgver.tar.xz"
builddir="$srcdir/gtkmm-$pkgver"

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

package() {
	make install DESTDIR="$pkgdir"
}
sha512sums="be7144edb0d5d68f761c9e92c197c3b84de045072443222694c1595faebf3390623a390dbec9f7232a70231aca138b1cb4343ab273333b2a6a418af7ec1586ed  gtkmm-3.24.1.tar.xz"