#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=libgda pkgver=4.2.11 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.gnome.org/pub/GNOME/sources/libgda/4.2/$pkgname-$pkgver.tar.xz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi # update the gconf schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libgda - Data abstraction layer with mysql, pgsql, sqlite providers" "It is a wrapper like ODBC but with more features to access several" "database engines features a meta data extractor (to know all about" "database objects in a common way)comes with an SQL console application" "(like mysql, psql or sqlite3 consoles)relies on GLib, coded in C, its" "API is easy to use at the moment supports SQLite (and SQLCipher)," "MySQL, PostgreSQL, MSAccess, Berkeley Db (and is SQL extension)," "Oracle and JDBC (allows access to any database through a JDBC driver)," "work is in progress for other database types (such as Firebird)." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --disable-static --disable-gtk-doc --enable-introspection=no make || return 1 make install DESTDIR=$startdir/pkg rm -rf $startdir/pkg/usr/share/icons rm -rf $startdir/pkg/usr/share/gtk-doc }