core/translate-toolkit/PKGBUILD

20 lines
710 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributions from Arch: https://www.archlinux.org/packages/extra/any/translate-toolkit/
pkgname=translate-toolkit
pkgver=1.10.0
pkgrel=2
pkgdesc="A toolkit to convert between various different translation formats, help process and validate localisations"
arch=('x86_64')
url="http://translate.sourceforge.net"
license=('GPL')
depends=('bash' 'python2-lxml')
optdepends=('python2-iniparse: to use ini2po script')
source=(http://downloads.sourceforge.net/translate/${pkgname}-${pkgver}.tar.bz2)
md5sums=('91ef9ec6e997f8cd5379fb1e44ce2063')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
}