# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pako
pkgver=0.3.1
pkgrel=7
pkgdesc="The universal package manager library"
url="https://github.com/MycroftAI/pako"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-appdirs"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/p/pako/pako-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/pako-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"

	# remove misplaced license file
	rm -rf "$pkgdir"/usr/pako
}

sha512sums="
265f970f7bed824b1d329da516189ad68346ff8e132cc3ce62cdc66908037d3c69e4ab09333be0d99c410365aaf147c5ab89f7c0e8e1776bffcef9c0de7807b3  pako-0.3.1.tar.gz
"
