summaryrefslogtreecommitdiff
path: root/community/libgdamm
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/libgdamm
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/libgdamm')
-rw-r--r--community/libgdamm/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/libgdamm/PKGBUILD b/community/libgdamm/PKGBUILD
new file mode 100644
index 000000000..cf58ad50a
--- /dev/null
+++ b/community/libgdamm/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 33284 2010-11-23 19:29:36Z heftig $
+# Contributor: Jan de Groot <jan@jgc.homeip.net>
+
+pkgbase=libgdamm
+pkgname=(libgdamm libgdamm-docs)
+pkgver=4.1.1
+pkgrel=1
+arch=('i686' 'x86_64')
+makedepends=('libgda>=4.2.1' 'libsigc++' 'glibmm>=2.24.2' 'glibmm-docs>=2.24.2')
+url="http://gtkmm.sourceforge.net/"
+license=('LGPL')
+options=('!libtool' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgbase/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+md5sums=('6f57b0362698420cd855539cf61be388')
+
+build() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package_libgdamm() {
+ pkgdesc="C++ bindings for libgda"
+ depends=('libgda>=4.2.1' 'glibmm>=2.24.2' 'libsigc++')
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libgdamm-docs() {
+ pkgdesc="Developer documentation for libgdamm"
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ make -C docs DESTDIR="${pkgdir}" install
+}