summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ff45c68f18ea80355079674cb1edcbe2bc2476e (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: Cadel Watson <cadel@cadelwatson.com>

pkgname=panzer-git
pkgver=1.0.r14.g52bc933
pkgrel=1
pkgdesc="pandoc + styles"
arch=('any')
url="http://github.com/msprev/panzer"
license=('unknown')
depends=('pandoc' 'python' 'python-pandocfilters')

makedepends=('git')
provides=('panzer-git')
conflicts=('panzer-git')

source=('git://github.com/msprev/panzer.git')
md5sums=('SKIP')

pkgver() {
  cd ${srcdir}/panzer
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd ${srcdir}/panzer
  python setup.py install --root=${pkgdir} --optimize=1
}