summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36d28e6bc207be50255a3012bab14ee5ebf93c4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Carsten Feuls <archlinux@carstenfeuls.de>

pkgname=pg_backup_ctl
pkgver=b11948d
pkgrel=1
pkgdesc='A shell script to manage PostgreSQL archiving and basebackups'
arch=('any')
url='https://github.com/credativ/pg_backup_ctl'
license=('BSD')
depends=('git')
source=("${pkgname}::git+https://github.com/credativ/pg_backup_ctl.git")
sha512sums=('SKIP')

pkgver() {
        cd ${srcdir}/${pkgname}
        git describe --always | sed 's|-|.|g'
}

package() {
  	cd ${srcdir}/${pkgname}
  	make install PREFIX=${pkgdir}/usr
}