blob: 9f2e82a7a385d85357c49756adcec600957b462a (
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
28
29
30
31
32
33
|
# Maintainer: Sam Stuewe <halosghost at archlinux dot info>
pkgname=pbpst-git
pkgver=0.9.0.r0.g5ca5d03
pkgrel=1
pkgdesc='A small tool to interact with pb instances'
url='https://github.com/HalosGhost/pbpst'
arch=('i686' 'x86_64')
license=('GPL2')
depends=('curl' 'jansson')
makedepends=('git' 'tup' 'clang' 'python-sphinx')
source=('git+https://github.com/HalosGhost/pbpst.git')
sha256sums=('SKIP')
pkgver () {
cd pbpst
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build () {
cd pbpst
tup upd
}
package () {
cd pbpst
install -Dm755 src/pbpst "$pkgdir"/usr/bin/pbpst
install -Dm644 doc/pbpst.1 "${pkgdir}"/usr/share/man/man1/pbpst.1
install -Dm644 doc/pbpst_db.5 "${pkgdir}"/usr/share/man/man5/pbpst_db.5
}
|