mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
28 lines
718 B
Bash
28 lines
718 B
Bash
# 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"
|
|
}
|