archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-sphinx-inline-tabs / trunk / PKGBUILD
blob879e4cb61881cb4f11a75bd923348975f57ef39d
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
3 _pkgname=sphinx-inline-tabs
4 pkgname=python-$_pkgname
5 pkgver=2023.04.21
6 pkgrel=1
7 pkgdesc='Add inline tabbed content to your Sphinx documentation'
8 arch=('any')
9 url='https://github.com/pradyunsg/sphinx-inline-tabs'
10 license=('MIT')
11 depends=('python-sphinx')
12 makedepends=('python-build' 'python-installer' 'python-flit-core')
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
14 sha512sums=('cad9ccdbf820c69b1f729d6c44ce34ec6005b5a72819f18aff0bf2a02aab66162c51f6a00119c95bddbea39363ce42ead502dc2526013785cb98e3b21965de7d')
16 build() {
17   cd $_pkgname-$pkgver
19   python -m build --wheel --no-isolation
22 package() {
23   cd $_pkgname-$pkgver
25   python -m installer --destdir="$pkgdir" dist/*.whl
27   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE