Date: Thursday, December 2, 2021 @ 23:37:36 Author: felixonmars Revision: 1063196
archrelease: copy trunk to community-staging-any Added: python-multipart/repos/community-staging-any/ python-multipart/repos/community-staging-any/PKGBUILD (from rev 1063195, python-multipart/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: python-multipart/repos/community-staging-any/PKGBUILD (from rev 1063195, python-multipart/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-12-02 23:37:36 UTC (rev 1063196) @@ -0,0 +1,30 @@ +# Maintainer: Filipe LaĆns (FFY00) <la...@archlinux.org> + +_pkgname=multipart +pkgname=python-$_pkgname +pkgver=0.2.4 +pkgrel=2 +pkgdesc='Parser for multipart/form-data' +arch=('any') +url='https://github.com/defnull/multipart' +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha512sums=('5a0cbcbbfc3232257a607892d5d2176e03ff9c7056d146b99ba1e8067c8736f2e38676e08622d5100cf85b172affbfbd8938da92819e39fc4739184f666a14ed') + +build() { + cd $_pkgname-$pkgver + + python setup.py build +} + +package() { + cd $_pkgname-$pkgver + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: