blob: 080555e83925437ed1240dfbad2067325d72f1cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 57409 2011-10-27 03:51:27Z ebelanger $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
pkgname=libgda4
pkgver=4.2.10
pkgrel=1
pkgdesc="Data abstraction layer with mysql, pgsql, xml, sqlite providers"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gtksourceview2' 'libunique' 'libxslt' '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=('cfaf228c62fbdb461c3bfedad919d5dfeb6a2e624c223910e275a53b97d3a431')
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"
rm -rf "$pkgdir"/usr/bin/{gda-list-config,gda-list-server-op,gda-sql}
rm -rf "$pkgdir"/usr/share/man/man1/gda-sql.1
}
|