Package Details: pg_top r360.32d9c58-1

Git Clone URL: https://aur.archlinux.org/pg_top.git (read-only, click to copy)
Package Base: pg_top
Description: Top for PostgreSQL
Upstream URL: https://pg_top.gitlab.io/
Licenses: BSD
Submitter: CarstenF
Maintainer: 1ridic
Last Packager: 1ridic
Votes: 10
Popularity: 0.000023
First Submitted: 2015-11-06 00:56 (UTC)
Last Updated: 2023-06-20 14:03 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

bjo commented on 2022-03-25 13:54 (UTC)

@bsdice: Feel free to adopt.

bsdice commented on 2022-03-25 13:36 (UTC)

GIT version

# Maintainer: Stephan Eisvogel <eisvogel ät seitics dot de>
pkgname=pg_top
pkgver=r353.96b44e7
pkgrel=1
pkgdesc='Top for PostgreSQL'
arch=('i686' 'x86_64' 'armv5h' 'armv6h' 'armv7h')
license=('BSD')  # original BSD license
url="https://pg_top.gitlab.io/"
groups=('custom')
makedepends=('git')
depends=('postgresql-libs' 'libbsd')
source=("$pkgname::git+https://gitlab.com/pg_top/pg_top.git")
sha256sums=('SKIP')

pkgver() {
    cd ${pkgname}
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

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

bjo commented on 2022-01-13 13:20 (UTC)

@rumpelsepp: Didn't you want to adopt the package? ;)

rumpelsepp commented on 2020-07-27 07:00 (UTC)

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 (UTC)

Also please add git to makedepends

jhass commented on 2019-09-03 22:19 (UTC)

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

ursus commented on 2018-12-06 06:29 (UTC)

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

CarstenF commented on 2018-12-04 22:21 (UTC)

@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 (UTC)

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 (UTC)

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