# Maintainer: a821 # Contributor: asm0dey # Contributor: Sven-Hendrik Haase pkgname=pgcli pkgver=3.4.1 pkgrel=1 pkgdesc="a command line interface for Postgres with auto-completion and syntax highlighting" url="http://pgcli.com/" arch=(any) license=('BSD') depends=('python-sqlparse' 'python-psycopg2' 'python-click' 'python-prompt_toolkit' 'python-configobj' 'python-pgspecial' 'python-setproctitle' 'python-cli_helpers' 'python-keyring' 'python-pygments' 'python-pendulum') makedepends=('python-setuptools') source=($pkgname-$pkgver.tar.gz::https://github.com/dbcli/pgcli/archive/v$pkgver.tar.gz) sha256sums=('0ddeae7d04cf821942f3d95b3db37387c6d64603a5327659ad1d086902a6dc90') package() { cd "pgcli-${pkgver}" python setup.py install --root="$pkgdir/" --optimize=1 install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }