archrelease: copy trunk to staging-x86_64
[arch-packages.git] / gconfmm / trunk / PKGBUILD
blob819f0a331fdabb3418ae2d53b20859c3aa827125
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Kritoke <typeolinux@yahoo.com>
4 pkgbase=gconfmm
5 pkgname=('gconfmm' 'gconfmm-docs')
6 pkgver=2.28.3
7 pkgrel=5
8 arch=('x86_64')
9 url="http://gconfmm.sourceforge.net/"
10 license=('LGPL')
11 makedepends=('pkgconfig' 'gtkmm' 'glibmm-docs' 'gconf' 'glibmm')
12 source=(https://download.gnome.org/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.xz)
13 sha256sums=('d7bd2d29c1a87b85329547fb29a0eca52d944e60699982152775002e24c09228')
15 build() {
16   cd "${srcdir}/${pkgbase}-${pkgver}"
17   CXXFLAGS+=' -std=c++11'
18   ./configure --prefix=/usr --sysconfdir=/etc \
19       --localstatedir=/var
20   make
23 package_gconfmm() {
24   pkgdesc="C++ bindings for GConf"
25   depends=('gconf' 'glibmm')
27   cd "${srcdir}/${pkgbase}-${pkgver}"
28   sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
29   make DESTDIR="${pkgdir}" install
32 package_gconfmm-docs() {
33   pkgdesc="Developer documentation for gconfmm"
35   cd "${srcdir}/${pkgbase}-${pkgver}/docs"
36   make DESTDIR="${pkgdir}" install