summaryrefslogtreecommitdiff
path: root/gnome-unstable/glibmm/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-11 00:02:38 +0000
committerroot <root@rshg054.dnsready.net>2012-03-11 00:02:38 +0000
commit503034bfe282c58ff13c42c7a6b92aa062d779b5 (patch)
treeece09793a2bf096dd717bcd4082f0814784b8b27 /gnome-unstable/glibmm/PKGBUILD
parent3792e3874accbc868e7032042f1ecefdef25638e (diff)
Sun Mar 11 00:02:37 UTC 2012
Diffstat (limited to 'gnome-unstable/glibmm/PKGBUILD')
-rw-r--r--gnome-unstable/glibmm/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnome-unstable/glibmm/PKGBUILD b/gnome-unstable/glibmm/PKGBUILD
new file mode 100644
index 000000000..4f533a2cc
--- /dev/null
+++ b/gnome-unstable/glibmm/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 152754 2012-03-09 14:13:33Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgbase=glibmm
+pkgname=('glibmm' 'glibmm-docs')
+pkgver=2.31.20
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+makedepends=('glib2' 'libsigc++2.0' 'pkgconfig')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+options=('!libtool')
+url="http://www.gtkmm.org/"
+sha256sums=('09c5d915eee485fecdbc13405ca34be5c5d55e9a3923dd0acfe6982804daa34d')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package_glibmm() {
+ pkgdesc="Glib-- (glibmm) is a C++ interface for glib"
+ depends=('glib2' 'libsigc++2.0')
+ cd "$pkgbase-$pkgver"
+ sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+ make DESTDIR="$pkgdir" install
+}
+
+package_glibmm-docs() {
+ pkgdesc="Developer documentation for glibmm"
+ cd "$pkgbase-$pkgver/docs"
+ make DESTDIR="$pkgdir" install
+}