1
0
flewkey-overlay/gui-apps/foot-terminfo/foot-terminfo-1.6.2.ebuild
Ryan Fox 4cd9b5ac01
gui-apps/foot-terminfo: Remove meson
It's easier, and I need not worry about meson crashing when it doesn't
have every single dependency for foot.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-01-07 06:29:19 +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"
}