summaryrefslogtreecommitdiff
path: root/extra/libgda
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-01 22:33:26 +0000
committerroot <root@rshg047.dnsready.net>2011-05-01 22:33:26 +0000
commit40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (patch)
treefaeb03af48db54c663f74f3f188b9c1c56ca6a0b /extra/libgda
parentc173ac862828a54925737fc1d90ede1dd09a312c (diff)
Sun May 1 22:33:26 UTC 2011
Diffstat (limited to 'extra/libgda')
-rw-r--r--extra/libgda/PKGBUILD24
-rw-r--r--extra/libgda/libgda.install12
2 files changed, 25 insertions, 11 deletions
diff --git a/extra/libgda/PKGBUILD b/extra/libgda/PKGBUILD
index f6ff2bcd0..e7c22e05f 100644
--- a/extra/libgda/PKGBUILD
+++ b/extra/libgda/PKGBUILD
@@ -1,24 +1,26 @@
-# $Id: PKGBUILD 115163 2011-03-17 10:00:41Z andrea $
+# $Id: PKGBUILD 120419 2011-04-23 21:33:28Z ibiru $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
pkgname=libgda
-pkgver=4.2.3
-pkgrel=3
-pkgdesc="data abstraction layer; with mysql, pgsql, xml, sqlite providers"
+pkgver=4.2.6
+pkgrel=1
+pkgdesc="Data abstraction layer with mysql, pgsql, xml, sqlite providers"
arch=(i686 x86_64)
license=('GPL')
-depends=('glib2>=2.26.1' 'libxslt' 'db>=5.1.25' 'ncurses>=5.8'
- 'libsoup>=2.32.2' 'libmysqlclient>=5.5.10' 'postgresql-libs>=9.0.3')
-makedepends=('intltool')
-options=('!libtool' '!makeflags')
+depends=('gtksourceview2' 'libunique' 'libxslt' 'db' 'ncurses' 'libsoup'
+ 'libmysqlclient' 'postgresql-libs' 'python2' 'libgnome-keyring'
+ 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('intltool' 'gobject-introspection' 'namcap')
+options=('!libtool')
url="http://www.gnome-db.org"
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/4.2/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('3da161f0dca5d080d0cb7bee7cce9bc918abd42e0e0d5683acff9dfe2e158cb5')
+install=libgda.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('141259e19ba163500963bd5bd512cfa4eb542b24c99f2fa14a2ef27643308cd3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i -e 's/python/python2/' libgda-report/RML/trml*/trml*.py
+ 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
diff --git a/extra/libgda/libgda.install b/extra/libgda/libgda.install
new file mode 100644
index 000000000..c317fbaca
--- /dev/null
+++ b/extra/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
+}