summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b5cba04c620b42df7cfa3314b3e2ce088ee3712 (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
# Maintainer: Lukasz Pozarlik <lpozarlik@gmail.com>

pkgbase='python-sphinxcontrib-confluencebuilder'
pkgname=('python-sphinxcontrib-confluencebuilder'
         'python2-sphinxcontrib-confluencebuilder')
pkgver='1.7.1'
pkgrel='1'
pkgdesc="Sphinx extension to build Confluence® compatible markup format files and optionally publish them"
arch=('any')
url="https://github.com/sphinx-contrib/confluencebuilder"
makedepends=('python-setuptools'
             'python2-setuptools')
license=('GPL')
source=("https://github.com/sphinx-contrib/confluencebuilder/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('fa3ad6a339fccb15b07cf023ba687b98')

package_python-sphinxcontrib-confluencebuilder(){
  depends=('python' 
           'python-sphinx')
  cd confluencebuilder-${pkgver}
  python setup.py install --root="${pkgdir}" --optimize=1
}

package_python2-sphinxcontrib-confluencebuilder(){
  depends=('python2' 
           'python2-sphinx')
  cd confluencebuilder-${pkgver}
  PYTHONPATH=/usr/lib/python2.7/site-packages
  python2 setup.py install --root="${pkgdir}" --optimize=1
}

# vim: ts=2 sw=2 et