summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a144fbfdcaeead7d79f9e27be46c06a47d39d48 (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: Rafael Silva <perigoso@riseup.net>

pkgname='python-sphinxcontrib-confluencebuilder'
pkgver='2.14'
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"
depends=(
	'python'
	'python-sphinx'
	'python-requests'
)
makedepends=(
	'python-build'
	'python-installer'
	'python-wheel'
	'python-flit-core'
)
license=('BSD-2-Clause')
source=("https://github.com/sphinx-contrib/confluencebuilder/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('75591d4f2fd4220310f5705346ac9713')

build() {
  cd "confluencebuilder-${pkgver}"
  python -m build --wheel --no-isolation
}

package() {
  cd "confluencebuilder-${pkgver}"
  python -m installer --destdir="$pkgdir" dist/*.whl
}