summaryrefslogtreecommitdiff
path: root/community/pgadmin3/PKGBUILD
blob: a19ab8da421c9db80286bb2ed37841adbb4ebcad (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
34
# $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.14.0
pkgrel=1
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' '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=('27bf1694809a7d9adf4feec508374df2'
         'd07ba4df54baead30b66d19d7450bcad')

build() {
    cd $srcdir/pgadmin3-${pkgver}
    [ -f Makefile ] || ./configure --prefix=/usr
    make
}

package() {
    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/pixmaps/pgAdmin3.ico
    install -Dm644 $srcdir/pgadmin3.desktop $pkgdir/usr/share/applications/pgadmin3.desktop
}