[arch-commits] Commit in python2-pygments/repos (community-any community-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Mar 9 04:55:56 UTC 2020
Date: Monday, March 9, 2020 @ 04:55:56
Author: foutrelis
Revision: 592746
archrelease: copy trunk to community-any
Added:
python2-pygments/repos/community-any/
python2-pygments/repos/community-any/PKGBUILD
(from rev 592745, python2-pygments/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python2-pygments/repos/community-any/PKGBUILD (from rev 592745, python2-pygments/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-03-09 04:55:56 UTC (rev 592746)
@@ -0,0 +1,26 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Timm Preetz <timm at preetz.us>
+
+pkgname=python2-pygments
+pkgver=2.5.2
+pkgrel=2
+pkgdesc="Python syntax highlighter"
+arch=('any')
+url="https://pygments.org/"
+license=('BSD')
+depends=('python2-setuptools')
+source=(https://pypi.org/packages/source/P/Pygments/Pygments-$pkgver.tar.gz)
+sha256sums=('98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe')
+
+package() {
+ cd "$srcdir/Pygments-$pkgver"
+
+ python2 setup.py install --root="$pkgdir" -O1
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+
+ # pygmentize is included in python-pygments
+ rm "$pkgdir/usr/bin/pygmentize"
+ rmdir "$pkgdir/usr/bin"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list