summaryrefslogblamecommitdiff
path: root/user/gtkmm+3.0/APKBUILD
blob: 84c2727c1450eb90c1b877321d84d8dcdea8e915 (plain) (tree)
1
2
3
4


                                                           
             

































                                                                                   
                                                                                                                                                                  
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=gtkmm+3.0
pkgver=3.24.1
pkgrel=0
pkgdesc="C++ interfaces for GTK+ 3"
url="https://gnome.org"
arch="all"
options="!check" # Tests require X
license="GPL-2.0+ AND LGPL-2.1+"
depends=""
makedepends="glibmm-dev pangomm-dev atkmm-dev gtk+3.0-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gtkmm/${pkgver%.*}/gtkmm-$pkgver.tar.xz"
builddir="$srcdir/gtkmm-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="be7144edb0d5d68f761c9e92c197c3b84de045072443222694c1595faebf3390623a390dbec9f7232a70231aca138b1cb4343ab273333b2a6a418af7ec1586ed  gtkmm-3.24.1.tar.xz"