summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/sokoban')
-rw-r--r--app-emacs/sokoban/Manifest1
-rw-r--r--app-emacs/sokoban/files/50sokoban-gentoo.el3
-rw-r--r--app-emacs/sokoban/metadata.xml5
-rw-r--r--app-emacs/sokoban/sokoban-1.4.ebuild25
4 files changed, 34 insertions, 0 deletions
diff --git a/app-emacs/sokoban/Manifest b/app-emacs/sokoban/Manifest
new file mode 100644
index 00000000000..b0e5679da1f
--- /dev/null
+++ b/app-emacs/sokoban/Manifest
@@ -0,0 +1 @@
+DIST sokoban-1.4.tar 61440 SHA256 8127798c25bb19ae8d9a4d8d9d3e24b43a5a1ec45b0c79f1003a66991157d3f9 SHA512 8c04f509013e1d8f6e8cc1e182ec253fc84870e5733623038ea03f2447952dcbc77236c64b158ea4e4613dafce192f2c4b50aac3e1e219a049a6a951a44a7ac1 WHIRLPOOL ca5cde6a3418a05c289b03352add8a9c615381c93e2ec13238e2955de8b3c06267ac351c873cdc0eba1abdc125d02d57275a72d1f4a1b4318434d437ec737e2f
diff --git a/app-emacs/sokoban/files/50sokoban-gentoo.el b/app-emacs/sokoban/files/50sokoban-gentoo.el
new file mode 100644
index 00000000000..418d409b133
--- /dev/null
+++ b/app-emacs/sokoban/files/50sokoban-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'sokoban "sokoban" nil t)
+(setq sokoban-level-file "@SITEETC@/sokoban.levels")
diff --git a/app-emacs/sokoban/metadata.xml b/app-emacs/sokoban/metadata.xml
new file mode 100644
index 00000000000..bc306fe5822
--- /dev/null
+++ b/app-emacs/sokoban/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/sokoban/sokoban-1.4.ebuild b/app-emacs/sokoban/sokoban-1.4.ebuild
new file mode 100644
index 00000000000..1e6bc43068b
--- /dev/null
+++ b/app-emacs/sokoban/sokoban-1.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Implementation of Sokoban for Emacs"
+HOMEPAGE="http://elpa.gnu.org/packages/sokoban.html"
+SRC_URI="http://elpa.gnu.org/packages/${P}.tar"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+ELISP_REMOVE="sokoban-pkg.el"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog"
+
+src_install() {
+ elisp_src_install
+ insinto "${SITEETC}/${PN}"
+ doins sokoban.levels
+}