summaryrefslogtreecommitdiff
path: root/gnome-unstable/gtkmm3
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-01 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-09-01 23:14:36 +0000
commiteb3d40c72c9dd19f6a5ef79b41e9d8ba73ccd928 (patch)
tree8b84e75352e1becac08cfc404361e88753b5daac /gnome-unstable/gtkmm3
parent31f40feaa17912cf0ebfa72dd9368264633b3830 (diff)
Thu Sep 1 23:14:36 UTC 2011
Diffstat (limited to 'gnome-unstable/gtkmm3')
-rw-r--r--gnome-unstable/gtkmm3/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnome-unstable/gtkmm3/PKGBUILD b/gnome-unstable/gtkmm3/PKGBUILD
new file mode 100644
index 000000000..b21770c91
--- /dev/null
+++ b/gnome-unstable/gtkmm3/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 136703 2011-08-31 15:06:35Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgbase=gtkmm3
+_pkgbasename=gtkmm
+pkgname=('gtkmm3' 'gtkmm3-docs')
+pkgver=3.1.16
+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.1/${_pkgbasename}-${pkgver}.tar.xz)
+sha256sums=('b6d76b88444329bc04b596cdf6e9b45e529c373bb09b1653d7bb6ff57bf12c2c')
+
+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
+}