1
0
flewkey-overlay/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild
Ryan Fox 6fdd6df2ac
gui-apps/foot-terminfo: Bump to 1.7.1
Some changes were made to the terminfo a few months back and I never
noticed.

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-03-28 19:33:34 +00:00

30 lines
729 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/foot"
else
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/dnkl/foot.git"
fi
DESCRIPTION="Terminfo for foot, a great Wayland terminal emulator"
HOMEPAGE="https://codeberg.org/dnkl/foot"
LICENSE="MIT"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info"
dodir /usr/share/terminfo/f/
cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot"
cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct"
}