diff options
author | Chema Alonso Josa <nimiux@gentoo.org> | 2018-05-31 18:46:57 +0200 |
---|---|---|
committer | Chema Alonso Josa <nimiux@gentoo.org> | 2018-05-31 18:46:57 +0200 |
commit | 1e775b40de919fcfae5136f0b3981fc811a7ba80 (patch) | |
tree | 800af3b337c99e1742dd5da3b6370da9d4a4e6ce /x11-wm/stumpwm/stumpwm-18.05.ebuild | |
parent | sys-fs/zfs-kmod: Remove reiser4 blocker from 9999 ebuilds (diff) | |
download | gentoo-1e775b40de919fcfae5136f0b3981fc811a7ba80.tar.gz gentoo-1e775b40de919fcfae5136f0b3981fc811a7ba80.tar.bz2 gentoo-1e775b40de919fcfae5136f0b3981fc811a7ba80.zip |
x11-wm/stumpwm: Bump version to 18.05
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'x11-wm/stumpwm/stumpwm-18.05.ebuild')
-rw-r--r-- | x11-wm/stumpwm/stumpwm-18.05.ebuild | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/x11-wm/stumpwm/stumpwm-18.05.ebuild b/x11-wm/stumpwm/stumpwm-18.05.ebuild new file mode 100644 index 000000000000..1da69a1a8997 --- /dev/null +++ b/x11-wm/stumpwm/stumpwm-18.05.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit common-lisp-3 autotools elisp-common xdg-utils versionator + +DESCRIPTION="Stumpwm is a Window Manager written entirely in Common Lisp." +HOMEPAGE="https://stumpwm.github.io/" +SRC_URI="https://github.com/stumpwm/stumpwm/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="contrib doc emacs" + +RESTRICT="strip mirror" + +RDEPEND="dev-lisp/alexandria + dev-lisp/cl-ppcre + dev-lisp/clx + >=dev-lisp/sbcl-1.3.0 + emacs? ( virtual/emacs app-emacs/slime )" +DEPEND="${RDEPEND} + sys-apps/texinfo + doc? ( virtual/texi2dvi )" + +PDEPEND="contrib? ( x11-wm/stumpwm-contrib )" + +SITEFILE=70${PN}-gentoo.el +CLPKGDIR="${CLSOURCEROOT}/${CLPACKAGE}" + +install_docs() { + local pdffile="${PN}.pdf" + + texi2pdf -o "${pdffile}" "${PN}.texi.in" && dodoc "${pdffile}" || die + cp "${FILESDIR}/README.Gentoo" . && sed -i "s:@VERSION@:${PV}:" README.Gentoo || die + dodoc AUTHORS NEWS README.md README.Gentoo + doinfo "${PN}.info" + docinto examples + dodoc sample-stumpwmrc.lisp +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + xdg_environment_reset + econf --with-lisp=sbcl +} + +src_compile() { + emake +} + +src_install() { + dobin stumpwm + make_session_desktop StumpWM /usr/bin/stumpwm + + common-lisp-install-sources *.lisp + common-lisp-install-asdf + # Fix ASDF dir + sed -i -e "/(:directory/c\ (:directory \"${CLPKGDIR}\")" \ + "${D}${CLPKGDIR}/load-stumpwm.lisp" || die + use doc && install_docs +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |