# Maintainer: Shane "SajeOne" Brown pkgname=python-colorthief pkgver=0.2.1 pkgrel=1 pkgdesc="A Python module for grabbing the color palette from an image." arch=('any') url="https://github.com/fengsp/color-thief-py" license=('custom:3-clause BSD') depends=('python' 'python-pillow') makedepends=('python-setuptools') provides=('python-colorthief') source=("https://github.com/fengsp/color-thief-py/archive/$pkgver.tar.gz") sha256sums=('f2c47cad43809048adb9be1e4e63519d32e3b68532e8f0ab7bf46a58ddf7d099') _gitname=color-thief-py package() { cd "$srcdir/$_gitname-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 #LICENSE install -D -m644 "$srcdir/$_gitname-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } # vim:set ts=2 sw=2 et: