summaryrefslogblamecommitdiff
path: root/user/glibmm/APKBUILD
blob: 9ceb52bb2cf4ea990be9672062fbbf4e343b21d9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                           
             





                                 
                                            
























                                                                                     
                                                                                                                                                                   
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=glibmm
pkgver=2.60.0
pkgrel=0
pkgdesc="C++ interfaces for glib"
url="https://gnome.org"
arch="all"
license="GPL-2.0+ AND LGPL-2.1+"
depends="glib-networking"
makedepends="glib-dev>=2.60.0 libsigc++-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/glibmm/${pkgver%.*}/glibmm-$pkgver.tar.xz"

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="ea0477d5cb6e59019e87f929630ff32ac38dd5e4fb53fe84ef64b5b41c1090c8e10a0a67b26c786ab4d9ebf64b993fa0044333b4aa8554c331a0a6d02039c5ad  glibmm-2.60.0.tar.xz"