summaryrefslogtreecommitdiff
path: root/wslay
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-05-17 20:51:48 +0200
committerErich Eckner <git@eckner.net>2021-05-17 20:53:16 +0200
commit6e320dd879b0d721bcc040b2e416aa6fa8b65be1 (patch)
tree31d6c5ee2d4c0ad97139bb941af45e4bb927867d /wslay
parentac76bd0f173657bcaafefa0df909a1b0201c726a (diff)
downloadarchlinuxewe-6e320dd879b0d721bcc040b2e416aa6fa8b65be1.tar.xz
wslay: fix docs
Diffstat (limited to 'wslay')
-rw-r--r--wslay/PKGBUILD10
-rw-r--r--wslay/sphinx.patch17
2 files changed, 25 insertions, 2 deletions
diff --git a/wslay/PKGBUILD b/wslay/PKGBUILD
index 0396017a1..81cb57e74 100644
--- a/wslay/PKGBUILD
+++ b/wslay/PKGBUILD
@@ -17,8 +17,14 @@ makedepends=('autoconf' 'automake' 'git' 'libtool' 'make' 'pkg-config' 'python-s
checkdepends=('cunit' 'nettle')
url="https://github.com/tatsuhiro-t/wslay"
license=('MIT')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tatsuhiro-t/$pkgname/archive/release-$pkgver.tar.gz")
-sha512sums=('b42c66c738a3f33bc7de30e8975f4fb2dc60a8baef44be8d254110c8915e14cdaa4cbdd6b29184a66061fe387ec0948e896cb174a1dd8c85a97b5feedfde162e')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tatsuhiro-t/$pkgname/archive/release-$pkgver.tar.gz" 'sphinx.patch')
+sha512sums=('b42c66c738a3f33bc7de30e8975f4fb2dc60a8baef44be8d254110c8915e14cdaa4cbdd6b29184a66061fe387ec0948e896cb174a1dd8c85a97b5feedfde162e'
+ '84eb978c28d29c6e9cc9bb4b2fe2ff6380d8c981724c4452d3b08de44ae65e5e73eb37f815833a3d5ebbee1fc4a8e7d0f1bc3119777146580d7306c72791a286')
+
+prepare() {
+ cd "$srcdir/$pkgname-release-$pkgver"
+ patch -p1 -i "$srcdir/sphinx.patch"
+}
build() {
cd "$srcdir/$pkgname-release-$pkgver"
diff --git a/wslay/sphinx.patch b/wslay/sphinx.patch
new file mode 100644
index 000000000..a327b2840
--- /dev/null
+++ b/wslay/sphinx.patch
@@ -0,0 +1,17 @@
+--- wslay-release-1.1.1/doc/sphinx/conf.py.in 2021-05-17 20:46:23.440993958 +0200
++++ wslay-release-1.1.1/doc/sphinx/conf.py.in 2021-05-17 20:45:05.563332347 +0200
+@@ -123,6 +123,8 @@
+ # so a file named "default.css" will overwrite the builtin "default.css".
+ html_static_path = ['_static/default2.css']
+
++html_css_files = ['default2.css']
++
+ # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+ # using the given strftime format.
+ #html_last_updated_fmt = '%b %d, %Y'
+@@ -302,4 +304,4 @@
+ ]
+
+ def setup(app):
+- app.add_stylesheet('default2.css')
++ pass