updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / slimit / PKGBUILD
blob4675ca990b437cc30485e741082640c87fe88c45
1 # $Id$
2 # Maintainer: Fabien Devaux <fdev31 at gmail dot com>
3 pkgname=slimit
4 provides=('slimit')
5 pkgver=0.5.5
6 pkgrel=1
7 pkgdesc="SlimIt - JavaScript minifier"
8 arch=('any')
9 url="http://slimit.org/"
10 license=('MIT')
11 depends=('python2' 'python2-ply>=3.4' 'python2-odict')
12 makedepends=('python2-distribute')
13 source=(http://pypi.python.org/packages/source/s/slimit/slimit-${pkgver}.zip)
14 md5sums=('0f77cb80d9b06f364afb9e4ffb8d6ff7')
16 build() {
17    cd "${srcdir}/slimit-${pkgver}"
18    python2 setup.py build || exit 1
19    python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1