mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
21 lines
783 B
Bash
21 lines
783 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.13.0
|
|
pkgrel=1
|
|
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' 'python2-six')
|
|
makedepends=('python2-setuptools')
|
|
optdepends=('python2-iniparse: to use ini2po script')
|
|
source=(https://github.com/translate/translate/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('f9997a0deb3f1767bb20665a47cd2708')
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
python setup.py install --root="${pkgdir}" --optimize=1
|
|
}
|