summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-08-07 13:29:09 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-08-07 13:31:36 +0200
commitbe9453bddff0b04918f6011843f5325f14c41d27 (patch)
tree4553fff7ad74f96c229d4a45b2c64c2099c64f02 /app-emacs/package-lint/package-lint-0.19.ebuild
parentapp-emacs/eldev: bump to 1.5.2 (diff)
downloadgentoo-be9453bddff0b04918f6011843f5325f14c41d27.tar.gz
gentoo-be9453bddff0b04918f6011843f5325f14c41d27.tar.bz2
gentoo-be9453bddff0b04918f6011843f5325f14c41d27.zip
app-emacs/package-lint: bump to 0.19
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/package-lint/package-lint-0.19.ebuild')
-rw-r--r--app-emacs/package-lint/package-lint-0.19.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-emacs/package-lint/package-lint-0.19.ebuild b/app-emacs/package-lint/package-lint-0.19.ebuild
new file mode 100644
index 000000000000..4f573a3330fa
--- /dev/null
+++ b/app-emacs/package-lint/package-lint-0.19.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=26.1
+
+inherit elisp
+
+DESCRIPTION="Linting library for Emacs Lisp package metadata"
+HOMEPAGE="https://github.com/purcell/package-lint/"
+SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+PATCHES=( "${FILESDIR}"/${PN}-symbol-info-data-directory.patch )
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ elisp_src_prepare
+
+ sed "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" -i ${PN}.el || die
+}
+
+src_install() {
+ elisp-install ${PN} ${PN}{,-flymake}.el{,c}
+ elisp-make-site-file "${SITEFILE}"
+
+ insinto ${SITEETC}/${PN}
+ doins -r data
+
+ einstalldocs
+}