blob: 54881e25b2da68c3d6022333f15a192fe17a9426 (
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
35
36
37
38
39
|
# $Id: PKGBUILD 36424 2011-01-02 00:33:59Z 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=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')
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
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/
}
|