mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:57:56 +08:00
24 lines
693 B
Bash
24 lines
693 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=python-babel
|
|
pkgver=0.9.6
|
|
pkgrel=2
|
|
pkgdesc="A collection of tools for internationalizing Python applications"
|
|
url="http://babel.edgewall.org/"
|
|
license=("BSD")
|
|
arch=('any')
|
|
depends=('python2' 'python-distribute')
|
|
source=("http://ftp.edgewall.com/pub/babel/Babel-$pkgver.tar.gz")
|
|
md5sums=('f0edcad03dfdb5505f337ef1a7690325')
|
|
|
|
build() {
|
|
cd $srcdir/Babel-${pkgver}
|
|
# python2 fix
|
|
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' babel/messages/frontend.py
|
|
python2 setup.py install --root=$pkgdir
|
|
install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
}
|