Package Details: pg_top 3.7.0-3

Git Clone URL: https://aur.archlinux.org/pg_top.git (read-only, click to copy)
Package Base: pg_top
Description: top-like app for monitoring PostgreSQL backends (previously known as ptop)
Upstream URL: http://ptop.projects.postgresql.org/
Licenses: BSD
Submitter: CarstenF
Maintainer: CarstenF
Last Packager: CarstenF
Votes: 8
Popularity: 0.000000
First Submitted: 2015-11-06 00:56
Last Updated: 2017-02-14 15:47

Latest Comments

rumpelsepp commented on 2020-07-27 07:00

Here is a new pkguild; please update. If you have lost interest in arch, I will happily adopt this package in 2 weeks. :)

# Maintainer: Carsten Feuls <archlinux@carstenfeuls.de>

pkgname=pg_top
pkgver=4.0.0.alpha5
_pkgver="4.0.0-alpha5"
pkgrel=1
pkgdesc='top-like app for monitoring PostgreSQL backends (previously known as ptop)'
arch=('i686' 'x86_64' 'armv5h' 'armv6h' 'armv7h')
license=('BSD')  # original BSD license
url='https://pg_top.gitlab.io/'
depends=('postgresql-libs' 'libbsd')
source=("$pkgname-$_pkgver::https://gitlab.com/pg_top/pg_top/-/archive/v${_pkgver}/pg_top-v${_pkgver}.tar.gz")
md5sums=('a75723c950cb1837e0571056b368ffe4')

build() {
    cd ${srcdir}/${pkgname}-v${_pkgver}
    LDFLAGS="-lncurses $LDFLAGS"
    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    make
}

package() {
    cd ${srcdir}/${pkgname}-v${_pkgver}/build
    make DESTDIR="${pkgdir}" install
}

jhass commented on 2019-09-03 22:22

Also please add git to makedepends

jhass commented on 2019-09-03 22:19

Upstream seems to have moved to https://gitlab.com/pg_top/pg_top

ursus commented on 2018-12-06 06:29

@CarstenF Ok, I did not remember that. Makes perfectly sense. Thanks.

CarstenF commented on 2018-12-04 22:21

@ursus Packages in the base-devel group should not be defined as dependency. https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites Part from the link above: Note: Packages in the AUR assume that the base-devel group is installed, i.e. they do not list the group's members as dependencies explicitly.

ursus commented on 2018-12-04 06:58

Thanks for the package. There is an undeclared build-time dependency on both automake and autoconf. You might want to add those to the PKGBUILD. Thanks a lot.

patrick.luehne commented on 2017-11-14 22:11

Just to let you know, the upstream URL in the PKGBUILD is down and should be updated to https://github.com/markwkm/pg_top :).

fishtix commented on 2017-11-02 01:55

I still can't get it to build, even though the LDFLAGS line is in place.

/usr/bin/ld: display.o: undefined reference to symbol 'tgoto'
/usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:512: pg_top] Error 1

revel commented on 2016-05-29 21:14

This package does not build:
https://paste2.org/aZt3V7kP
Adding
LDFLAGS="-lncurses $LDFLAGS"
to build() before './configure' line works