summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5be3afa18550751291e0d2ec51e8c8507a4f0207 (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=1.1.13
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=("http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz")
md5sums=('dc586362902dcc1110d487d7c8ffd5e4')

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: