mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
app-emacs/yasnippet-snippets: Initial import.
Package split off from app-emacs/yasnippet. Ebuild contributed by me. Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DIST yasnippet-snippets-0.3.tar.gz 97229 BLAKE2B 26fe83c35be1b20b6a1e414144149cf1feaf4463833634bbd0a3db6f56b1da46d8e379c3dd19217cfd36f12cb9dc796eac4efef5c2ba472ce79f8c8b8d816969 SHA512 4aaac9d7c880642a1e802abb98bd6d6c94557fe0e609db5ce5b4ce2af921235d3e6bb2488c052adbe2940d41e85297520081ae0847b52642bc97610e6614727f
|
||||
@@ -0,0 +1,4 @@
|
||||
(eval-after-load "yasnippet"
|
||||
'(let ((snippets-dir "@SITEETC@"))
|
||||
(add-to-list 'yas-snippet-dirs snippets-dir t)
|
||||
(yas-load-directory snippets-dir t)))
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">AndreaCrotti/yasnippet-snippets</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A collection of yasnippet snippets for many languages"
|
||||
HOMEPAGE="https://github.com/AndreaCrotti/yasnippet-snippets"
|
||||
SRC_URI="https://github.com/AndreaCrotti/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-emacs/yasnippet"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r snippets/.
|
||||
dodoc README.md
|
||||
}
|
||||
Reference in New Issue
Block a user