upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-docutils-stubs / repos / community-any / PKGBUILD
blob9e4834a19da68aee017b11c8c4d7e11259150bb2
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
3 _pkgname=docutils-stubs
4 pkgname=python-$_pkgname
5 pkgver=0.0.22
6 pkgrel=2
7 pkgdesc='PEP 561 based Type information for docutils'
8 arch=('any')
9 url='https://github.com/tk0miya/docutils-stubs'
10 license=('custom:Unlicense')
11 depends=('python' 'python-docutils')
12 makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
13 source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
14         'https://raw.githubusercontent.com/tk0miya/docutils-stubs/1f13dcdbebb06bc742b797bc5765a70d734a7fbc/LICENSE')
15 sha512sums=('30aeac0f15c215abdb6eb42e0bf46e50f08f20befc7bebd7fa376e7f85813189ab71df583231c461539530b1d7da6fc263d75b24ff251c46d2dcb3163bd0116b'
16             'f23a3f3ec79340594ea40d731087e8586326a96c6cb9675c7a58687255885148286aa73cee087a5a3c976ea901fde16e229d00e98c65188cce3f0d75c8390a10')
18 build() {
19   cd $_pkgname-$pkgver
21   python -m build -nw
24 package() {
25   cd $_pkgname-$pkgver
27   python -m installer -d "$pkgdir" dist/*.whl
29   install -Dm 644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
32 # vim:set ts=2 sw=2 et: