updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / python2-polib / PKGBUILD
blobfc346ec9785f99f26f44e9519bc7a4709277ecd4
1 # Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com>
3 pkgname=python2-polib
4 _pkgname='polib'
5 pkgver=0.7.0
6 pkgrel=1
7 pkgdesc='A library to manipulate gettext files'
8 url='http://polib.readthedocs.org/en/latest/index.html'
9 arch=('any')
10 license=('MIT')
11 depends=('python2')
13 source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz")
14 md5sums=('958f8f81ade7d2484edc25b3989fe247')
16 build() {
17   cd "${srcdir}/${_pkgname}-${pkgver}"
18   python2 setup.py build
21 package() {
22   cd "${srcdir}/${_pkgname}-${pkgver}"
23   python2 setup.py install --root="${pkgdir}" --optimize=1
24   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE