1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Tobias Roettger <toroettg@gmail.com>
4 pkgname=python-platformdirs
7 pkgdesc='A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir"'
9 url="https://github.com/platformdirs/platformdirs"
12 makedepends=('python-setuptools')
13 source=("https://pypi.io/packages/source/p/platformdirs/platformdirs-$pkgver.tar.gz")
14 sha512sums=('a342167cf10959b04535060dfffc11df42e046cfcf75c83c0eaa45ba314a864ff715f0764efd65aee5a404f39fe3c80a9f0fde6adf91b95cba7f508d01d09ab3')
17 cd "$srcdir"/platformdirs-$pkgver
22 cd "$srcdir"/platformdirs-$pkgver
27 cd platformdirs-$pkgver
28 python setup.py install --root="$pkgdir/" --optimize=1
29 install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
32 # vim:set ts=2 sw=2 et: