summaryrefslogtreecommitdiffstats
path: root/main/gtkmm/APKBUILD
blob: c2422dc465a56ee3d2b0aaca8d937a683be9a7fd (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.4
pkgrel=0
pkgdesc="C++ wrappers for GTK+"
url="http://gtkmm.sourceforge.net/"
arch="all"
license="LGPL"
depends=""
makedepends="gtk+-dev intltool glibmm-dev pangomm-dev atkmm-dev"
depends_dev="atkmm-dev gtk+-dev glibmm-dev pangomm-dev"
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build() {
	cd "$srcdir"/gtkmm-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/gtkmm-$pkgver
	make install DESTDIR="$pkgdir" || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="b9ac60c90959a71095f07f84dd39961d  gtkmm-2.24.4.tar.xz"
sha256sums="443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee  gtkmm-2.24.4.tar.xz"
sha512sums="75d8c7a7c32adb33a9867b36877422bce52d8486d66be5aaa2afe1eee439efc2ba09aab7d06b9986d74879103415062c5386d5354aff6d44a63b2ba2d75f7c89  gtkmm-2.24.4.tar.xz"