From 154321f7346db5c32dbdf9c730735969eabbd88f Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 15 Jan 2014 03:49:32 +0000 Subject: Wed Jan 15 03:43:12 UTC 2014 --- community/pgadmin3/PKGBUILD | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'community/pgadmin3/PKGBUILD') diff --git a/community/pgadmin3/PKGBUILD b/community/pgadmin3/PKGBUILD index e94dee04b..24eb2e296 100644 --- a/community/pgadmin3/PKGBUILD +++ b/community/pgadmin3/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 103799 2014-01-11 20:08:32Z eric $ +# $Id: PKGBUILD 103960 2014-01-14 05:57:45Z eric $ # Maintainer: Sergej Pupykin # Maintainer: Douglas Soares de Andrade # Contributor: Benjamin Andresen @@ -6,12 +6,12 @@ pkgname=pgadmin3 pkgver=1.18.1 -pkgrel=7 +pkgrel=8 pkgdesc="Comprehensive design and management interface for PostgreSQL" arch=('i686' 'x86_64') url="http://www.pgadmin.org" license=('custom') -depends=('wxgtk' 'postgresql-libs' 'libxslt') +depends=('wxgtk2.8' 'postgresql-libs' 'libxslt') makedepends=('libpqxx' 'krb5' 'postgresql' 'imagemagick') install=pgadmin3.install source=(http://ftp.postgresql.org/pub/pgadmin3/release/v${pkgver}/src/pgadmin3-${pkgver}.tar.gz) @@ -22,17 +22,18 @@ build() { convert pgadmin3-${pkgver}/pgadmin/include/images/pgAdmin3.ico pgadmin3.png cd "pgadmin3-${pkgver}" - [ -f Makefile ] || ./configure --prefix=/usr --with-wx-version=3.0 + sed -i 's/wx-config/wx-config-2.8/' configure + [ -f Makefile ] || ./configure --prefix=/usr --with-wx-version=2.8 make } package() { - cd $srcdir/pgadmin3-${pkgver} + cd "$srcdir"/pgadmin3-${pkgver} - make DESTDIR=$pkgdir/ install - install -Dm644 i18n/$pkgname.lng $pkgdir/usr/share/pgadmin3/i18n - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE - install -Dm644 pgadmin/include/images/pgAdmin3.ico $pkgdir/usr/share/pgadmin3/pgAdmin3.ico + make DESTDIR="$pkgdir/" install + install -Dm644 i18n/$pkgname.lng "$pkgdir/usr/share/pgadmin3/i18n" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 pgadmin/include/images/pgAdmin3.ico "$pkgdir/usr/share/pgadmin3/pgAdmin3.ico" install -Dm644 "$srcdir/pgadmin3-3.png" "$pkgdir/usr/share/pgadmin3/pgAdmin3.png" install -Dm644 "pkg/pgadmin3.desktop" "$pkgdir/usr/share/applications/pgadmin3.desktop" } -- cgit v1.2.3-54-g00ecf