Date: Thursday, April 6, 2023 @ 03:29:40
  Author: felixonmars
Revision: 1438242

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx-copybutton/repos/community-staging-any/
  python-sphinx-copybutton/repos/community-staging-any/PKGBUILD
    (from rev 1438241, python-sphinx-copybutton/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-sphinx-copybutton/repos/community-staging-any/PKGBUILD (from rev 
1438241, python-sphinx-copybutton/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 03:29:40 UTC (rev 1438242)
@@ -0,0 +1,29 @@
+# Maintainer: Evangelos Foutras <[email protected]>
+# Contributor: Blair Bonnett <blair dot bonnett at gmail dot com>
+
+_name=sphinx-copybutton
+pkgname=python-$_name
+pkgver=0.5.1
+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=('366251e28a6f6041514bfb5439425210418d6c750e98d3a695b73e56866a677a')
+
+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:

Reply via email to