summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47e1f337e39db292929e254f08f2aaec913baf55 (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: Caleb Maclennan <caleb@alerque.com>

pkgname=python-usfm2osis
_pypiname="${pkgname#python-}"
pkgver=0.6.1
pkgrel=4
pkgdesc='Tools for converting Bibles from USFM to OSIS XML'
arch=(any)
url="https://github.com/chrislit/$_pypiname"
license=(GPLv3)
depends=(python)
makedepends=(python-{build,installer,wheel}
             python-setuptools)
options=(!emptydirs)
_archive="$_pypiname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${_pypiname::1}/$_pypiname/$_archive.tar.gz")
sha256sums=('bdd1d9d14e0b70d617aa88b4753d49d81c091e810a647df166e129a28b0b5deb')

build() {
	cd "$_archive"
	python -m build -wn
}

package() {
	cd "$_archive"
	python -m installer -d "$pkgdir" dist/*.whl
}