summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/casting-spels-emacs')
-rw-r--r--app-doc/casting-spels-emacs/casting-spels-emacs-19-r2.ebuild38
-rw-r--r--app-doc/casting-spels-emacs/casting-spels-emacs-19-r4.ebuild37
-rw-r--r--app-doc/casting-spels-emacs/metadata.xml2
3 files changed, 38 insertions, 39 deletions
diff --git a/app-doc/casting-spels-emacs/casting-spels-emacs-19-r2.ebuild b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r2.ebuild
deleted file mode 100644
index 5f9f23dd698d..000000000000
--- a/app-doc/casting-spels-emacs/casting-spels-emacs-19-r2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit elisp-common
-
-DESCRIPTION="Casting SPELs in Lisp - A Comic Book (Emacs Lisp Edition)"
-HOMEPAGE="http://www.lisperati.com/casting-spels-emacs/html/casting-spels-emacs-1.html
- https://www.gnu.org/software/emacs/casting-spels-emacs/"
-SRC_URI="https://casting-spels-emacs.googlecode.com/files/${PN}-v${PV}.zip"
-
-LICENSE="GPL-2+ FDL-1.2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="virtual/emacs"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
- sed -i 's/\r$//' *.txt html/*.html {lisp,test}/*.el || die
- # needs cl extensions
- eapply "${FILESDIR}/${P}-require-cl.patch"
- eapply_user
-}
-
-src_install() {
- elisp-install ${PN} lisp/*.el
- dodoc README.txt test/walk-through-commands.el
- docinto html
- dodoc html/*.html
- docinto html/images
- dodoc images/*.jpg images/*.png
- dosym html/images /usr/share/doc/${PF}/images
- dosym ${SITELISP}/${PN} /usr/share/doc/${PF}/lisp
-}
diff --git a/app-doc/casting-spels-emacs/casting-spels-emacs-19-r4.ebuild b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r4.ebuild
new file mode 100644
index 000000000000..500d4bfd29b7
--- /dev/null
+++ b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edos2unix elisp-common
+
+DESCRIPTION="Casting SPELs in Lisp - A Comic Book (Emacs Lisp Edition)"
+HOMEPAGE="https://www.lisperati.com/casting-spels-emacs/html/casting-spels-emacs-1.html
+ https://www.gnu.org/software/emacs/casting-spels-emacs/"
+SRC_URI="https://web.archive.org/web/20151231165906/https://casting-spels-emacs.googlecode.com/files/${PN}-v${PV}.zip"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2+ FDL-1.2"
+SLOT="0"
+KEYWORDS="amd64 ~riscv x86"
+
+RDEPEND=">=app-editors/emacs-23.1:*"
+BDEPEND="app-arch/unzip"
+
+PATCHES="${FILESDIR}/${P}-require-cl.patch"
+
+src_prepare() {
+ edos2unix *.txt html/*.html {lisp,test}/*.el
+ default
+}
+
+src_install() {
+ elisp-install ${PN} lisp/*.el
+ dodoc README.txt test/walk-through-commands.el
+ docinto html
+ dodoc html/*.html
+ docinto html/images
+ dodoc images/*.jpg images/*.png
+ dosym html/images /usr/share/doc/${PF}/images
+ dosym -r ${SITELISP}/${PN} /usr/share/doc/${PF}/lisp
+}
diff --git a/app-doc/casting-spels-emacs/metadata.xml b/app-doc/casting-spels-emacs/metadata.xml
index ba89606f7acb..4dde4ab6e622 100644
--- a/app-doc/casting-spels-emacs/metadata.xml
+++ b/app-doc/casting-spels-emacs/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnu-emacs@gentoo.org</email>