summaryrefslogtreecommitdiff
path: root/testing/gtkmm3
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-29 23:14:32 +0000
committerroot <root@rshg054.dnsready.net>2011-09-29 23:14:32 +0000
commit0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 (patch)
tree1a8030f72ecc9d90c9f4c41d9a9d0662169b6404 /testing/gtkmm3
parentf8db5d1487e8e0ceeb97a396e357c1540a047ed8 (diff)
Thu Sep 29 23:14:32 UTC 2011
Diffstat (limited to 'testing/gtkmm3')
-rw-r--r--testing/gtkmm3/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/gtkmm3/PKGBUILD b/testing/gtkmm3/PKGBUILD
new file mode 100644
index 000000000..a1a47bc89
--- /dev/null
+++ b/testing/gtkmm3/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 138971 2011-09-28 19:31:52Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgbase=gtkmm3
+_pkgbasename=gtkmm
+pkgname=('gtkmm3' 'gtkmm3-docs')
+pkgver=3.2.0
+pkgrel=1
+arch=('i686' 'x86_64')
+makedepends=('gtk3' 'pangomm' 'atkmm' 'glibmm-docs' 'mm-common')
+license=('LGPL')
+options=('!libtool' '!emptydirs')
+url="http://gtkmm.sourceforge.net/"
+source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/3.2/${_pkgbasename}-${pkgver}.tar.xz)
+sha256sums=('6195dac58454e287ae17d380c028827f0a49669a3b93f85e2d4f6eb9459674f2')
+
+build() {
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package_gtkmm3() {
+ pkgdesc="C++ bindings for gtk3"
+ depends=('gtk3' 'pangomm' 'atkmm')
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+ sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+
+ make DESTDIR="${pkgdir}" install
+}
+
+package_gtkmm3-docs() {
+ pkgdesc="Developer documentation for gtkmm v3"
+
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+ make -C docs DESTDIR="${pkgdir}" install
+}