mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 03:54:36 +08:00
28 lines
870 B
Bash
28 lines
870 B
Bash
#
|
|
# Platform packages for Chakra, part of www.chakra-project.org
|
|
#
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributors: A Boersma (abveritas) <abveritas@chakra-project.org>
|
|
|
|
pkgname=python2-babel
|
|
pkgver=0.9.6
|
|
pkgrel=3
|
|
pkgdesc="A collection of tools for internationalizing Python applications"
|
|
url="http://babel.edgewall.org/"
|
|
license=("BSD")
|
|
arch=('any')
|
|
depends=('python2')
|
|
conflicts=('python-babel<=0.9.6-2')
|
|
replaces=('python-babel<=0.9.6-2')
|
|
makedepends=('setuptools')
|
|
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
|
|
}
|