summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/poke-mode/Manifest1
-rw-r--r--app-emacs/poke-mode/files/50poke-mode-gentoo.el7
-rw-r--r--app-emacs/poke-mode/metadata.xml8
-rw-r--r--app-emacs/poke-mode/poke-mode-3.0.ebuild19
4 files changed, 35 insertions, 0 deletions
diff --git a/app-emacs/poke-mode/Manifest b/app-emacs/poke-mode/Manifest
new file mode 100644
index 000000000000..5ca14b79a7e9
--- /dev/null
+++ b/app-emacs/poke-mode/Manifest
@@ -0,0 +1 @@
+DIST poke-mode-3.0.tar 20480 BLAKE2B f46b14be48bfed9187ba939277a0464050ebede46c9757450a5b79fd23d8fb48af4c220e36a00f4bb6bc3c1ad6597b763ff268b668bd6c5160740671c0d5b456 SHA512 d1d9af1d09ee80a75cd8ba50348a0d6496fc30f12ea9707a313111ac11d2e7222a701c6a75a1f06e6c785d56be4036e85c11ae1cf3b35de8303011617f51efab
diff --git a/app-emacs/poke-mode/files/50poke-mode-gentoo.el b/app-emacs/poke-mode/files/50poke-mode-gentoo.el
new file mode 100644
index 000000000000..53fd87c88d6d
--- /dev/null
+++ b/app-emacs/poke-mode/files/50poke-mode-gentoo.el
@@ -0,0 +1,7 @@
+;;; poke-mode site configuration
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'poke-mode "poke-mode"
+ "Poke PK (pickle) editing mode." t)
+
+(add-to-list 'auto-mode-alist '(".*\\.pk" . poke-mode))
diff --git a/app-emacs/poke-mode/metadata.xml b/app-emacs/poke-mode/metadata.xml
new file mode 100644
index 000000000000..d773a3050c42
--- /dev/null
+++ b/app-emacs/poke-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arsen@gentoo.org</email>
+ <description>Arsen Arsenović</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-emacs/poke-mode/poke-mode-3.0.ebuild b/app-emacs/poke-mode/poke-mode-3.0.ebuild
new file mode 100644
index 000000000000..bcb0f8ed172f
--- /dev/null
+++ b/app-emacs/poke-mode/poke-mode-3.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=25
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing Poke programs"
+HOMEPAGE="https://elpa.gnu.org/packages/poke-mode.html"
+SRC_URI="https://elpa.gnu.org/packages/${P}.tar"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+ELISP_REMOVE="poke-mode-pkg.el"
+SITEFILE="50${PN}-gentoo.el"