mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
x11-terms/st-terminfo: drop 0.9
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
parent
8fee75fb0a
commit
55558129a2
@ -1,3 +1,2 @@
|
||||
DIST st-0.9.2.tar.gz 48381 BLAKE2B 69818e3c2c3af31ceaaa86c4b721bc9842be21005d72db801d1867c3d33ab5674bce8bd34eb194a683d49514fd5e981b079c23844a895497386c0c26c414ea3a SHA512 1ca484227189d9e92ffc1092183fdc6a162da8bb41b9c18df662212d49a9551a84c3c87784ae16f2294105776b9d58983f29396bc681e367b761610bd7071b61
|
||||
DIST st-0.9.3.tar.gz 49528 BLAKE2B 95d672b8bd25f2bcda9ef7d0238fec522045e5082d5bdfda0b34ad1c67b93c1571e62f96b41f6a024ca00311d405d081a922f61604014d99708a0bdf20eb0e38 SHA512 c07303ac3447de57b72dd48f3cfd590de54267d85f8313517b625b4008de968383ced071e4c396a126d901983278b4242236ebc80f23d6838e6e7390feebc6a6
|
||||
DIST st-0.9.tar.gz 48171 BLAKE2B f6713b565b785549a571b3775346351c6db79dfbb1a93e29aadd722f30e957e9f77d1644b150cd11f0993dec5accad9d825e6d6b380b4c84c5f526b6589d1b15 SHA512 8d996a68d55c63d84da9962911b076ef437842e8cd83d74672d95531dfbaea91e049430886459a99e859ec760bb3754e94bbe1f646410998725e5a8997fb70ea
|
||||
|
||||
@ -1,51 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Terminfo for x11-terms/st"
|
||||
HOMEPAGE="https://st.suckless.org/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.suckless.org/st"
|
||||
else
|
||||
SRC_URI="https://dl.suckless.org/st/st-${PV}.tar.gz"
|
||||
S="${WORKDIR}/st-${PV}"
|
||||
KEYWORDS="amd64 ~arm arm64 ~hppa ~m68k ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND=">=sys-libs/ncurses-6.0"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
mkdir -v terminfo || die "Failed to create terminfo directory"
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tic -sxo terminfo st.info || die "Failed to translate terminfo file"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/st"
|
||||
doins -r terminfo
|
||||
|
||||
newenvd - "51${PN}" <<-_EOF_
|
||||
TERMINFO_DIRS="/usr/share/st/terminfo"
|
||||
COLON_SEPARATED="TERMINFO_DIRS"
|
||||
_EOF_
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Please run env-update and then source /etc/profile in any open shells"
|
||||
ewarn "to update terminfo settings. Relogin to update it for any new shells."
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user