# $Id: PKGBUILD 2584 2009-09-19 17:14:07Z ibiru $ # Maintainer: Douglas Soares de Andrade # Contributor: Benjamin Andresen # Contributor: bekks pkgname=pgadmin3 pkgver=1.10.0 _realver=1.10.0 pkgrel=3 pkgdesc="A comprehensive design and management interface for PostgreSQL database" arch=('i686' 'x86_64') url="http://www.pgadmin.org" license=('custom') depends=('wxgtk' 'postgresql-libs>=8.4.1' 'libpqxx' 'libxslt') source=(ftp://ftp2.ru.postgresql.org/mirrors/ftp.postgresql.org/pub/pgadmin3/release/v${_realver}/src/pgadmin3-${_realver}.tar.gz pgadmin3.desktop) md5sums=('3f2032c78657e3db4e0719613751060c' 'd07ba4df54baead30b66d19d7450bcad') build() { cd $srcdir/pgadmin3-${_realver} ./configure --prefix=/usr make || return 1 make DESTDIR=$pkgdir/ install || return 1 install -D -m 644 i18n/$pkgname.lng $pkgdir/usr/share/pgadmin3/i18n && \ install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1 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 $startdir/src/pgadmin3.desktop $pkgdir/usr/share/applications/ }