add pg_view-git
This commit is contained in:
commit
d81da6fd64
2 changed files with 40 additions and 0 deletions
13
.SRCINFO
Normal file
13
.SRCINFO
Normal file
|
@ -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
|
||||
|
27
PKGBUILD
Normal file
27
PKGBUILD
Normal file
|
@ -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'
|
||||
}
|
Loading…
Reference in a new issue