summaryrefslogtreecommitdiff
path: root/gnome-unstable/libgda
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 /gnome-unstable/libgda
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'gnome-unstable/libgda')
-rw-r--r--gnome-unstable/libgda/PKGBUILD33
-rw-r--r--gnome-unstable/libgda/libgda.install12
2 files changed, 45 insertions, 0 deletions
diff --git a/gnome-unstable/libgda/PKGBUILD b/gnome-unstable/libgda/PKGBUILD
new file mode 100644
index 000000000..61d8dce99
--- /dev/null
+++ b/gnome-unstable/libgda/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 113377 2011-03-08 13:22:49Z heftig $
+# Maintainer: tobias <tobias@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+
+pkgname=libgda
+pkgver=4.2.5
+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')
+options=('!libtool' '!makeflags')
+url="http://www.gnome-db.org"
+install=libgda.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('b98d6063469a1ba8226d94800732544be629c55132516de741c937e8bf175f13')
+
+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
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/gnome-unstable/libgda/libgda.install b/gnome-unstable/libgda/libgda.install
new file mode 100644
index 000000000..c317fbaca
--- /dev/null
+++ b/gnome-unstable/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
+}