[arch-commits] Commit in stumpwm/trunk (PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Tue Jun 14 01:51:01 UTC 2022


    Date: Tuesday, June 14, 2022 @ 01:51:00
  Author: grawlinson
Revision: 1237835

upgpkg: stumpwm 22.05-3

Include html and pdf documentation.

Modified:
  stumpwm/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-13 23:57:17 UTC (rev 1237834)
+++ PKGBUILD	2022-06-14 01:51:00 UTC (rev 1237835)
@@ -14,7 +14,7 @@
 
 pkgname=stumpwm
 pkgver=22.05
-pkgrel=2
+pkgrel=3
 pkgdesc='Tiling, keyboard-driven window manager written in Common Lisp'
 arch=('x86_64')
 url='https://stumpwm.github.io/'
@@ -25,7 +25,7 @@
   'cl-clx'
   'cl-alexandria'
 )
-makedepends=('git')
+makedepends=('git' 'texlive-core')
 optdepends=(
   'xorg-xprop: for stumpish, the StumpWM Interactive Shell'
   'rlwrap: command completion and history in stumpish'
@@ -59,6 +59,10 @@
     --with-module-dir=/usr/share/stumpwm/contrib
 
   make
+
+  # generate html/pdf documentation
+  makeinfo --pdf stumpwm.texi
+  makeinfo --html stumpwm.texi
 }
 
 package() {
@@ -66,9 +70,10 @@
 
   make destdir="$pkgdir" install
 
-  # sample configuration
+  # documentation
   install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" \
-    sample-stumpwmrc.lisp README.md
+    sample-stumpwmrc.lisp README.md stumpwm.pdf
+  cp -vr stumpwm.html "$pkgdir/usr/share/doc/$pkgname/html"
 
   # desktop file
   install -vDm644 -t "$pkgdir/usr/share/xsessions" ../stumpwm.desktop



More information about the arch-commits mailing list