gnu: stumpwm: Don't install build artifacts.

* gnu/packages/wm.scm (stumpwm)[arguments]: Add 'remove-temporary-cache'
  phase.
  (stumpwm+slynk)[arguments]: Delete 'remove-temporary-cache' phase inherited
  from stumpwm.
This commit is contained in:
Guillaume Le Vaillant 2023-06-17 10:06:12 +02:00
parent dec270a7c8
commit 2fa9a183d7
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -2044,7 +2044,11 @@ (define-public stumpwm
(invoke "./autogen.sh")
(invoke "sh" "./configure" "SHELL=sh")
(apply invoke "make" "stumpwm.info" make-flags)
(install-file "stumpwm.info" info)))))))
(install-file "stumpwm.info" info))))
(add-after 'install-manual 'remove-temporary-cache
(lambda* (#:key outputs #:allow-other-keys)
(delete-file-recursively (string-append (assoc-ref outputs "lib")
"/.cache")))))))
(synopsis "Window manager written in Common Lisp")
(description
"Stumpwm is a window manager written entirely in Common Lisp.
@ -2087,6 +2091,7 @@ (define-public stumpwm+slynk
(delete 'copy-source)
(delete 'build)
(delete 'check)
(delete 'remove-temporary-cache)
(delete 'cleanup)))))))
(define stumpwm-contrib