summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15518b4e6f29033b81110e461af089ae03928dc1 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Jashandeep Sohi <jashandeep.s.sohi@gmail.com>
# Contributor: Sam Stuewe <halosghost at archlinux dot info>
# Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
# Contributor: utdemir <utdemir@riseup.net>

pkgname='pelican-git'
pkgver=4.8.0.r58.g86f62d0a
pkgrel=1
pkgdesc='A static site generator written in Python w/ reST/Markdown support.'
url='http://blog.getpelican.com/'
license=('AGPL3')
source=($pkgname'::git+https://github.com/getpelican/pelican.git')
sha256sums=('SKIP')
arch=('any')
depends=(
 'python-feedgenerator'
 'python-jinja'
 'python-pygments'
 'python-docutils'
 'python-pytz'
 'python-blinker'
 'python-unidecode'
 'python-six'
 'python-markupsafe'
 'python-dateutil'
 'python'
)
makedepends=('git' 'python' 'python-setuptools')
optdepends=(
 'python-markdown: for supporting Markdown as an input format.'
 'python-typogrify: for typographical enhancements.'
)
conflicts=('pelican')
provides=('pelican')

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

package() {
 cd "$srcdir/$pkgname"
 python setup.py install --root=$pkgdir
}

# vim: tabstop=1 expandtab