summaryrefslogtreecommitdiff
path: root/testing/libgda
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/libgda
parentf8db5d1487e8e0ceeb97a396e357c1540a047ed8 (diff)
Thu Sep 29 23:14:32 UTC 2011
Diffstat (limited to 'testing/libgda')
-rw-r--r--testing/libgda/PKGBUILD34
-rw-r--r--testing/libgda/libgda.install12
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/libgda/PKGBUILD b/testing/libgda/PKGBUILD
new file mode 100644
index 000000000..2f9311c28
--- /dev/null
+++ b/testing/libgda/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 138992 2011-09-28 19:32:13Z ibiru $
+# Maintainer: tobias <tobias@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+
+pkgname=libgda
+pkgver=4.99.4
+pkgrel=1
+pkgdesc="Data abstraction layer with mysql, pgsql, xml, sqlite providers"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gtksourceview3' 'libxslt' 'json-glib' 'db' 'ncurses' 'libsoup'
+ 'libmysqlclient' 'postgresql-libs' 'python2' 'libgnome-keyring'
+ 'hicolor-icon-theme' 'desktop-file-utils' 'graphviz' 'gdk-pixbuf2'
+ 'iso-codes' 'openssl' 'libgcrypt' 'libldap')
+makedepends=('intltool' 'gobject-introspection' 'java-environment' 'gtk-doc')
+options=('!libtool')
+url="http://www.gnome-db.org"
+install=libgda.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('efef38c0318d156ba3263416355847af961f561660793cb670633e056018beac')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i '1s/python$/&2/' libgda-report/RML/trml*/trml*.py
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --with-bdb=/usr --with-bdb-libdir-name=lib \
+ --disable-static --enable-json
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/testing/libgda/libgda.install b/testing/libgda/libgda.install
new file mode 100644
index 000000000..c317fbaca
--- /dev/null
+++ b/testing/libgda/libgda.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}