2021-01-06 21:10:58 -05:00
|
|
|
# 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() {
|
2021-01-07 01:29:19 -05:00
|
|
|
tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info"
|
2021-01-06 21:10:58 -05:00
|
|
|
dodir /usr/share/terminfo/f/
|
2021-01-07 01:29:19 -05:00
|
|
|
cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot"
|
|
|
|
cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct"
|
2021-01-06 21:10:58 -05:00
|
|
|
}
|