summaryrefslogtreecommitdiff
path: root/community/libgda4
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-03 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-03 23:14:36 +0000
commit57d05f7209f022aa99a8850aafbeec4cb85c3b5b (patch)
tree8f6753258e8359d1314356a677cdb32ae94658ab /community/libgda4
parentad84169d66d20378d28533c216b73c9a6646d6d7 (diff)
Mon Oct 3 23:14:36 UTC 2011
Diffstat (limited to 'community/libgda4')
-rw-r--r--community/libgda4/PKGBUILD36
-rw-r--r--community/libgda4/libgda.install12
2 files changed, 48 insertions, 0 deletions
diff --git a/community/libgda4/PKGBUILD b/community/libgda4/PKGBUILD
new file mode 100644
index 000000000..9c2580c99
--- /dev/null
+++ b/community/libgda4/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 56164 2011-10-02 14:06:33Z jelle $
+# Maintainer: tobias <tobias@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+
+pkgname=libgda4
+pkgver=4.2.9
+pkgrel=1
+pkgdesc="Data abstraction layer with mysql, pgsql, xml, sqlite providers"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gtksourceview2' 'libunique' 'libxslt' 'db' 'ncurses' 'libsoup'
+ 'libmysqlclient' 'postgresql-libs' 'python2' 'libgnome-keyring'
+ 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('intltool' 'gobject-introspection' )
+options=('!libtool')
+url="http://www.gnome-db.org"
+install=libgda.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/libgda/${pkgver%.*}/libgda-${pkgver}.tar.xz)
+sha256sums=('bbae913734b0bf0149b36d1b8617e343f08611c10219fa5ba24b84dfa782e814')
+
+build() {
+ cd "${srcdir}/libgda-${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 \
+ --disable-gtk-doc
+ make
+}
+
+package() {
+ cd "${srcdir}/libgda-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ rm -rf $pkgdir/usr/share/icons
+ rm -rf $pkgdir/usr/share/gtk-doc
+}
diff --git a/community/libgda4/libgda.install b/community/libgda4/libgda.install
new file mode 100644
index 000000000..c317fbaca
--- /dev/null
+++ b/community/libgda4/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
+}