archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / python-minidump / trunk / PKGBUILD
blob87c92f4a8acc066a810f39a28ffab26f5485dc9d
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: GI_Jack <GI_Jack@hackermail.com>
4 _pyname=minidump
5 pkgname=python-${_pyname}
6 pkgver=0.0.21
7 pkgrel=3
8 pkgdesc='Python library to parse and read Microsoft minidump file format'
9 url='https://github.com/skelsec/minidump'
10 arch=('any')
11 license=('MIT')
12 depends=('python')
13 makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
14 source=("${url}/archive/refs/tags/${pkgver}/${pkgname}-${pkgver}.tar.gz")
15 sha512sums=('d020e822a90788f787019ed4a1838f96ce9a5eb37388d07f552b2ebb2447ccffaf2446fa0741f85b927a077cefea1f14ac96052b3bd341de15dd46706d25bdb3')
16 b2sums=('3a957a2b34f0d2c396973fe02b6bb8f0415b9725e5b49643fb4cbcbd63321cc94648f521f75e0a50359baa305a012651ee73551097d0dcc17ec081a8bfafff43')
18 build() {
19   cd ${_pyname}-${pkgver}
20   python -m build --wheel --no-isolation
23 package() {
24   cd ${_pyname}-${pkgver}
25   python -m installer --destdir="$pkgdir" dist/*.whl
26   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
27   install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
30 # vim: ts=2 sw=2 et: