commit:     90c15cc0beda1039c5b27bf33e03dfed3276562c
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 13 16:04:58 2017 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Thu Jul 13 16:04:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90c15cc0

x11-wm/stumpwm: Sync with lisp overlay

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 x11-wm/stumpwm/stumpwm-1.0.0.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/x11-wm/stumpwm/stumpwm-1.0.0.ebuild 
b/x11-wm/stumpwm/stumpwm-1.0.0.ebuild
index 3231eff7bb8..db333dd7696 100644
--- a/x11-wm/stumpwm/stumpwm-1.0.0.ebuild
+++ b/x11-wm/stumpwm/stumpwm-1.0.0.ebuild
@@ -40,7 +40,7 @@ get_lisp() {
        done
 }
 
-do_doc() {
+install_docs() {
        local pdffile="${PN}.pdf"
 
        texi2pdf -o "${pdffile}" "${PN}.texi" && dodoc "${pdffile}" || die
@@ -52,10 +52,6 @@ do_doc() {
 
 src_prepare() {
        default
-       # Upstream didn't change the version before packaging
-       sed -i -e 's/:version "0.9.8"/:version "0.9.9"/' "${PN}.asd" || die
-       # Bug 534592. Does not build with asdf:oos, using require to load the 
package
-       sed -i "load-${PN}.lisp.in" -e "s/asdf:oos 'asdf:load-op/require/" || 
die
        eautoreconf
 }
 
@@ -74,11 +70,11 @@ src_install() {
        make_session_desktop StumpWM /usr/bin/stumpwm
 
        common-lisp-install-sources *.lisp
-       common-lisp-install-asdf ${PN}.asd
+       common-lisp-install-asdf
        # Fix ASDF dir
        sed -i -e "/(:directory/c\   (:directory \"${CLPKGDIR}\")" \
                "${D}${CLPKGDIR}/load-stumpwm.lisp" || die
-       use doc && do_doc
+       use doc && install_docs
 }
 
 pkg_postinst() {

Reply via email to