updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / pg_top / PKGBUILD
blob157f5e7d2e7d3f83be9114e83602b647b345d283
1 # Maintainer: Marti Raudsepp <marti@juffo.org>
2 pkgname=pg_top
3 pkgver=3.6.2
4 pkgrel=1
5 pkgdesc="top-like app for monitoring PostgreSQL backends (previously known as ptop)"
6 arch=(i686 x86_64)
7 license=('BSD')  # original BSD license
8 url="http://ptop.projects.postgresql.org/"
9 depends=('postgresql-libs')
10 source=(http://pgfoundry.org/frs/download.php/1780/$pkgname-$pkgver.tar.bz2)
11 md5sums=('f1d7a895c4afc50a1ec05682c1f8344c')
13 build() {
14   cd $srcdir/$pkgname-$pkgver/
15   ./configure --prefix=/usr || return 1
16   make || return 1
17   make DESTDIR=$pkgdir/ install || return 1
19   install -dm 755 $pkgdir/usr/share/doc/$pkgname
20   cp README HISTORY FAQ $pkgdir/usr/share/doc/$pkgname