blob: 206bd9b4fe306dce57cce83ce9a6e2ef53572e0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com>
pkgname=python2-polib
_pkgname='polib'
pkgver=0.7.0
pkgrel=2
pkgdesc='A library to manipulate gettext files'
url='http://polib.readthedocs.org/en/latest/index.html'
arch=('any')
license=('MIT')
depends=('python2')
source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz")
md5sums=('958f8f81ade7d2484edc25b3989fe247')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|