blob: a9127c50adc63640619aca3f3c5b28189a1459ec (
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
|
# $Id: PKGBUILD 63614 2012-02-05 12:00:35Z ibiru $
# Contributor: Michael Kanis <mkanis@gmx.de>
pkgname=gsql
pkgver=0.2.2
pkgrel=4
pkgdesc="Integrated database development tool for GNOME"
url="http://gsql.org/"
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('gtk2>=2.12' 'gtksourceview2' 'vte' 'libgnomeui' 'gconf'
'desktop-file-utils' 'libnotify')
makedepends=('libmysqlclient' 'postgresql-libs' 'libssh')
optdepends=('libmysqlclient' 'postgresql-libs' 'libssh')
install=gsql.install
options=(!libtool)
source=(http://gsql.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('8f3322a75390584729e84a8570e08bea')
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's/notify_notification_new (subj, message, NULL, NULL);/notify_notification_new (subj, message, NULL);/' libgsql/notify.c
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
}
|