summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c05726da32df4d51240ba7825aa8c30a5b9b3252 (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: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Christopher Arndt <chris@chrisarndt.de>

pkgname=restview
pkgver=2.7.0
pkgrel=1
pkgdesc="A viewer for ReStructuredText documents that renders them on the fly."
arch=(any)
url="http://mg.pov.lt/restview/"
license=('GPL')
depends=('python-docutils' 'python-pygments' 'python-readme-renderer')
makedepends=('python-setuptools')
options=(!emptydirs)
source=("https://github.com/mgedmin/restview/archive/${pkgver}.tar.gz")
sha256sums=('ab288234da5c6b3f7cd02d6112d0a020822f43423c086089efeeda2ffac5c388')


package() {
    cd "${srcdir}"/${pkgname}-${pkgver}
    python setup.py build
}

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