x11-wm/stumpwm: Sync with lisp overlay
authorChema Alonso Josa <nimiux@gentoo.org>
Thu, 13 Jul 2017 16:04:58 +0000 (18:04 +0200)
committerChema Alonso Josa <nimiux@gentoo.org>
Thu, 13 Jul 2017 16:04:58 +0000 (18:04 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

x11-wm/stumpwm/stumpwm-1.0.0.ebuild

index 3231eff7bb87fe89d9879754a602d9975df04054..db333dd769669840cb03fe34f5a7851a95c61fab 100644 (file)
@@ -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() {