Merge branch 'testing' of gitorious.org:chakra-packages/platform into testing

This commit is contained in:
abveritas 2011-04-24 12:43:31 +00:00
commit 86708b2c48

27
python-pygments/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
@ Moved from CCR - PKGBUILD by Renan Biegelmeyer (RenanBS) <renan.biegel[at]gmail[.dot]com>
pkgname=python-pygments
pkgver=1.4
pkgrel=1
pkgdesc="Python syntax highlighter"
arch=('any')
url="http://pygments.org/"
license=('BSD')
depends=('setuptools')
provides=('pygments')
conflicts=('pygments')
replaces=('pygments')
source=(http://pypi.python.org/packages/source/P/Pygments/Pygments-$pkgver.tar.gz)
md5sums=('d77ac8c93a7fb27545f2522abe9cc462')
build()
{
cd "$srcdir/Pygments-$pkgver"
python setup.py install --root="$pkgdir" -O1
install -Dm644 external/pygments.bashcomp \
"$pkgdir/etc/bash_completion.d/pygments"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}