diff options
author | Thomas Weißschuh | 2013-10-12 12:21:32 +0000 |
---|---|---|
committer | Thomas Weißschuh | 2013-10-12 12:21:32 +0000 |
commit | d81da6fd645ddb96b3cbb6c69ccb3dea9f324377 (patch) | |
tree | 17b4107df728f995149845b389e200bef749359d | |
download | aur-pg_view-git.tar.gz |
add pg_view-git
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ed78eb3a17b5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = pg_view-git + pkgdesc = postgreSQL Activity View Utility + pkgver = 20130825 + pkgrel = 1 + url = https://github.com/zalando/pg_view + arch = any + license = Apache + depends = python2-psycopg2 + source = git+https://github.com/zalando/pg_view.git + sha256sums = SKIP + +pkgname = pg_view-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d3eed1979784 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Thomas Weißschuh <thomas t-8ch de> + +pkgname='pg_view-git' +pkgver=20130825 +pkgrel=1 +pkgdesc='postgreSQL Activity View Utility' +url='https://github.com/zalando/pg_view' +source=('git+https://github.com/zalando/pg_view.git') +arch=('any') +license=('Apache') +depends=('python2-psycopg2') +sha256sums=('SKIP') + +build() { + cd "${srcdir}/pg_view/" + sed -i '1s/python$/python2/' pg_view.py +} + +package() { + cd "${srcdir}/pg_view/" + # install -D "${pkgdir}/usr/bin" + install -D -m755 pg_view.py "${pkgdir}/usr/bin/pg_view" +} + +pkgver() { + date '+%Y%m%d' +} |