summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3eed1979784b88fda309609f48d851732eb9a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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'
}