diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /testing/gtkmm/PKGBUILD | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'testing/gtkmm/PKGBUILD')
-rw-r--r-- | testing/gtkmm/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/gtkmm/PKGBUILD b/testing/gtkmm/PKGBUILD new file mode 100644 index 000000000..4a712e92a --- /dev/null +++ b/testing/gtkmm/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 148155 2012-01-30 18:47:09Z ibiru $ +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgbase=gtkmm +pkgname=('gtkmm' 'gtkmm-docs') +pkgver=2.24.2 +pkgrel=2 +arch=('i686' 'x86_64') +makedepends=('gtk2' 'pangomm' 'atkmm' 'glibmm-docs') +license=('LGPL') +options=('!libtool' '!emptydirs') +url="http://gtkmm.sourceforge.net/" +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.24/${pkgbase}-${pkgver}.tar.xz) +sha256sums=('c90c7a29c20dd6d795925bd66ad1ff40be07cea0e4c03f4d6105a8c07448953d') + +build() { + cd "${srcdir}/${pkgbase}-${pkgver}" + ./configure --prefix=/usr + make +} + +package_gtkmm() { + pkgdesc="C++ bindings for gtk2" + depends=('gtk2' 'pangomm' 'atkmm') + cd "${srcdir}/${pkgbase}-${pkgver}" + + sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile + + make DESTDIR="${pkgdir}" install +} + +package_gtkmm-docs() { + pkgdesc="Developer documentation for gtkmm v2" + + cd "${srcdir}/${pkgbase}-${pkgver}" + make -C docs DESTDIR="${pkgdir}" install +} |