summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5d8604e80d393485f895cc17719348091aa8434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Simon Conseil <contact+aur at saimon dot org>
pkgname=python-pilkit
_pkgname=pilkit
pkgver=2.0
pkgrel=2
pkgdesc="A collection of utilities and processors for the Python Imaging Libary"
arch=('any')
url="https://github.com/matthewwithanm/pilkit/"
license=('BSD')
depends=('python' 'python-pillow')
source=("https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz")
md5sums=('1b187cddbaaec56c4797679949de44ee')

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
  install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}

  python setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et: