32 lines
1.1 KiB
Makefile
32 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.16.2"
|
|
PKG_SHA256="0e02af376e5f4a96eeb90470b7ad2e79a1d660db2a7d1aa772be43c7db00e475"
|
|
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
|
|
}
|