summaryrefslogtreecommitdiff
path: root/community/pgadmin3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pgadmin3/PKGBUILD')
-rw-r--r--community/pgadmin3/PKGBUILD33
1 files changed, 13 insertions, 20 deletions
diff --git a/community/pgadmin3/PKGBUILD b/community/pgadmin3/PKGBUILD
index bb4441b0a..c05aceb50 100644
--- a/community/pgadmin3/PKGBUILD
+++ b/community/pgadmin3/PKGBUILD
@@ -1,41 +1,34 @@
-# $Id: PKGBUILD 46331 2011-05-05 10:45:23Z spupykin $
+# $Id: PKGBUILD 55823 2011-09-22 21:47:07Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: Benjamin Andresen <benny@klapmuetz.org>
# Contributor: bekks <eduard.warkentin@gmx.de>
pkgname=pgadmin3
-pkgver=1.12.3
-_realver=1.12.3
+pkgver=1.14.0
pkgrel=1
pkgdesc="A comprehensive design and management interface for PostgreSQL database"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.pgadmin.org"
license=('custom')
-depends=('wxgtk' 'postgresql-libs>=8.4.1' 'libxslt')
-makedepends=('libpqxx' 'krb5')
-source=(ftp://ftp.de.postgresql.org/pub/packages/databases/PostgreSQL/pgadmin3/release/v${_realver}/src/pgadmin3-${_realver}.tar.gz
+depends=('wxgtk' 'postgresql-libs' 'libxslt')
+makedepends=('libpqxx' 'krb5' 'postgresql')
+source=(ftp://ftp.de.postgresql.org/pub/packages/databases/PostgreSQL/pgadmin3/release/v${pkgver}/src/pgadmin3-${pkgver}.tar.gz
pgadmin3.desktop)
-md5sums=('0ff7a970a14757ee951a4e8b1a246a70'
+md5sums=('27bf1694809a7d9adf4feec508374df2'
'd07ba4df54baead30b66d19d7450bcad')
build() {
- cd $srcdir/pgadmin3-${_realver}
- unset LDFLAGS
- [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr
+ cd $srcdir/pgadmin3-${pkgver}
+ [ -f Makefile ] || ./configure --prefix=/usr
make
}
package() {
- cd $srcdir/pgadmin3-${_realver}
+ cd $srcdir/pgadmin3-${pkgver}
make DESTDIR=$pkgdir/ install
-
- install -D -m 644 i18n/$pkgname.lng $pkgdir/usr/share/pgadmin3/i18n
- install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-
- mkdir -p $pkgdir/usr/share/pgadmin3/pixmaps/
- mkdir -p $pkgdir/usr/share/applications/
-
- install -D -m 644 pgadmin/include/images/pgAdmin3.ico $pkgdir/usr/share/pgadmin3/pixmaps/pgAdmin3.ico
- install -D -m 644 $srcdir/pgadmin3.desktop $pkgdir/usr/share/applications/
+ 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/pixmaps/pgAdmin3.ico
+ install -Dm644 $srcdir/pgadmin3.desktop $pkgdir/usr/share/applications/pgadmin3.desktop
}