python-pygments: Fix conflict between packages.
This commit is contained in:
@@ -11,7 +11,7 @@ license="BSD"
|
||||
makedepends=("python2-setuptools" "python3-setuptools")
|
||||
source=("https://pypi.python.org/packages/source/P/Pygments/Pygments-${pkgver}.tar.gz")
|
||||
noextract=("Pygments-${pkgver}.tar.gz")
|
||||
sha1sums=("fe2c8178a039b6820a7a86b2132a2626df99c7f8")
|
||||
sha1sums=('fe2c8178a039b6820a7a86b2132a2626df99c7f8')
|
||||
|
||||
prepare () {
|
||||
# workaround for symlink issue
|
||||
@@ -24,7 +24,9 @@ package_python2-pygments () {
|
||||
|
||||
cd "Pygments-${pkgver}"
|
||||
python2 setup.py install --root="${pkgdir}" -O1
|
||||
install -Dm644 external/pygments.bashcomp "${pkgdir}/usr/share/bash-completion/completions/pygmentize"
|
||||
|
||||
mv "${pkgdir}"/usr/bin/pygmentize "${pkgdir}"/usr/bin/pygmentize2
|
||||
install -Dm644 external/pygments.bashcomp "${pkgdir}/usr/share/bash-completion/completions/pygmentize2"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user