[arch-commits] Commit in python-sphinx-copybutton/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 9 03:18:31 UTC 2021
Date: Thursday, December 9, 2021 @ 03:18:30
Author: foutrelis
Revision: 1065789
archrelease: copy trunk to community-any
Added:
python-sphinx-copybutton/repos/community-any/
python-sphinx-copybutton/repos/community-any/PKGBUILD
(from rev 1065788, python-sphinx-copybutton/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-sphinx-copybutton/repos/community-any/PKGBUILD (from rev 1065788, python-sphinx-copybutton/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-12-09 03:18:30 UTC (rev 1065789)
@@ -0,0 +1,29 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Blair Bonnett <blair dot bonnett at gmail dot com>
+
+_name=sphinx-copybutton
+pkgname=python-$_name
+pkgver=0.4.0
+pkgrel=2
+pkgdesc="Sphinx extension to add a \"copy\" button to code blocks"
+arch=('any')
+url="https://sphinx-copybutton.readthedocs.io/"
+license=('MIT')
+depends=('python-sphinx')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/s/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('8daed13a87afd5013c3a9af3575cc4d5bec052075ccd3db243f895c07a689386')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $_name-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list