distribution/packages/wayland/util/foot/package.mk
2022-07-11 06:58:58 -04:00

31 lines
1.1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="foot"
PKG_VERSION="1.12.1"
PKG_SHA256="14e307ac89454b682bb9f1bc644043779f4462df656034fcc4c1e72b18fbffdd"
PKG_LICENSE="MIT"
PKG_SITE="https://codeberg.org/dnkl/foot/"
PKG_URL="https://codeberg.org/dnkl/foot/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses wayland wayland-protocols pixman fontconfig libxkbcommon fcft"
PKG_LONGDESC="A fast, lightweight and minimalistic Wayland terminal emulator"
PKG_MESON_OPTS_TARGET="-Ddocs=disabled \
-Dthemes=false \
-Dime=false \
-Dgrapheme-clustering=auto \
-Dterminfo=disabled \
-Ddefault-terminfo=xterm"
post_makeinstall_target(){
# clean up
safe_remove ${INSTALL}/usr/share/*
# install scripts
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_DIR}/scripts/foot.sh ${INSTALL}/usr/bin
# install config
mkdir -p ${INSTALL}/usr/share/foot
cp ${PKG_DIR}/config/foot.ini ${INSTALL}/usr/share/foot
}