34 lines
667 B
Bash
34 lines
667 B
Bash
|
# Copyright 2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
inherit meson
|
||
|
|
||
|
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_compile() {
|
||
|
meson_src_compile "f"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
dodir /usr/share/terminfo/f/
|
||
|
cp "${BUILD_DIR}/f/"* "${D}/usr/share/terminfo/f/"
|
||
|
}
|