app-eselect/eselect-emacs: Version bump to 1.19
Bug: https://bugs.gentoo.org/805491 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
parent
67111c85de
commit
75af653f0b
|
@ -1 +1,2 @@
|
|||
DIST eselect-emacs-1.18.tar.xz 8964 BLAKE2B 218a9cb043bb00b853e3c51230632f9cdd28a0d2f0ca96bfb9f6840615059993edadd1ea3447d3c6b6411a6a4edda6c1ff34428659f3fa09ab306e53b5501885 SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa
|
||||
DIST eselect-emacs-1.19.tar.xz 9072 BLAKE2B 6921200085df464bac84510bea414a3c68ef978999d9f49cef9d059e0391d237506bdb35c3379a810307dbc188bba1062ff08c9136d2b331c4aa299cca91befd SHA512 269c7ab5402f2507255c36c62f036a9daddaaf9ee399e2566ecd819c8bec234177a274ebcf397414050f9adfd2c61fde64e22bab0f6dc7e03f7b8a54e38564b0
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Manage multiple Emacs versions on one system"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.6
|
||||
~app-eselect/eselect-ctags-${PV}"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins {emacs,gnuclient}.eselect
|
||||
doman {emacs,gnuclient}.eselect.5
|
||||
dodoc ChangeLog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
ver_test "${v}" -ge 1.19 && continue
|
||||
# Refresh, 1.19 introduced a symlink in /usr/include
|
||||
local target=$(eselect --brief emacs show)
|
||||
[[ ${target// } == emacs* ]] && eselect emacs set "${target// }"
|
||||
break
|
||||
done
|
||||
}
|
Loading…
Reference in New Issue