diff options
author | root <root@rshg047.dnsready.net> | 2011-04-30 22:33:37 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-30 22:33:37 +0000 |
commit | c173ac862828a54925737fc1d90ede1dd09a312c (patch) | |
tree | 63d6b46455a4abdaf96aef59bbaa4406c6fe04f8 /community-staging/pgadmin3/PKGBUILD | |
parent | 693b5793b8c615601135bc04216a2ca0966087c5 (diff) |
Sat Apr 30 22:33:37 UTC 2011
Diffstat (limited to 'community-staging/pgadmin3/PKGBUILD')
-rw-r--r-- | community-staging/pgadmin3/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community-staging/pgadmin3/PKGBUILD b/community-staging/pgadmin3/PKGBUILD new file mode 100644 index 000000000..e9da012df --- /dev/null +++ b/community-staging/pgadmin3/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 45809 2011-04-29 11:11:02Z 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.2 +_realver=1.12.2 +pkgrel=2 +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' 'libxslt') +makedepends=('libpqxx' 'krb5') +source=(ftp://ftp.de.postgresql.org/pub/packages/databases/PostgreSQL/pgadmin3/release/v${_realver}/src/pgadmin3-${_realver}.tar.gz + pgadmin3.desktop) +md5sums=('5b0e7b0867c42a529ce2a41bc7f830c8' + 'd07ba4df54baead30b66d19d7450bcad') + +build() { + cd $srcdir/pgadmin3-${_realver} + + unset LDFLAGS + + [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/pgadmin3-${_realver} + 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/ +} |