# Maintainer: Christopher Arndt pkgname='python-guizero' _module='guizero' pkgver='1.1.0' pkgrel=1 pkgdesc="Python module to allow learners to easily create GUIs" url="https://github.com/lawsie/guizero" depends=('python-pillow') makedepends=('python-setuptools') license=('BSD') arch=('any') source=("https://files.pythonhosted.org/packages/source/${_module::1}/${_module}/${_module}-${pkgver}.tar.gz" 'https://raw.githubusercontent.com/lawsie/guizero/master/license.txt') md5sums=('52cecac2f7cf9642c2e1f3da2f37e23e' '9670acd16790b84f21178f2b940a96e2') build() { cd "${srcdir}/${_module}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_module}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dm644 "$srcdir/license.txt" -t "$pkgdir/usr/share/licenses/$pkgname" }