summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c161f52fe8de5bc6b4e24dddb113ea77bce3537d (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=python2-pilkit
_pkgname=pilkit
pkgver=2.0
pkgrel=1
pkgdesc="A collection of utilities and processors for the Python Imaging Libary"
arch=('any')
url="https://github.com/matthewwithanm/pilkit/"
license=('BSD')
depends=('python2' 'python2-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}

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

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