summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d49222305484c0c72c0901eb0b7e9c71f7cef4b (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
# Maintainer: Pavle Portic <archlinux@theedgeofrage.com>

pkgbase='python-sphinx-revealjs'
pkgname=('python-sphinx-revealjs')
_module='sphinx-revealjs'
pkgver='1.0.1'
pkgrel=1
pkgdesc="Sphinx extension with theme to generate Reveal.js presentation"
url="https://github.com/attakei/sphinx-revealjs"
license=('APACHE')
arch=('any')

depends=('python' 'python-sphinx' 'python-docutils')
makedepends=('python-setuptools')

source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('7daa6262571470ba9ef03ee4c1daaecae1c9e7293d684bcff0a676d82abded54')

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

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}