diff options
Diffstat (limited to 'x11-terms/terminus-bin/terminus-bin-1.0.139.ebuild')
-rw-r--r-- | x11-terms/terminus-bin/terminus-bin-1.0.139.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/x11-terms/terminus-bin/terminus-bin-1.0.139.ebuild b/x11-terms/terminus-bin/terminus-bin-1.0.139.ebuild new file mode 100644 index 000000000..d4506f821 --- /dev/null +++ b/x11-terms/terminus-bin/terminus-bin-1.0.139.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop xdg + +MY_PV="terminus-${PV}-linux" + +DESCRIPTION="A terminal for a more modern age" +HOMEPAGE="https://eugeny.github.io/terminus/" +SRC_URI=" + https://github.com/Eugeny/terminus/releases/download/v${PV}/${MY_PV}.tar.gz -> ${P}.tar.gz + https://github.com/ScardracS/icons/releases/download/release/terminus-icons.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}/${MY_PV}" + +DEPEND=" + app-accessibility/at-spi2-atk + app-accessibility/at-spi2-core + dev-libs/atk + dev-libs/nss + media-libs/alsa-lib + net-print/cups + media-libs/mesa + x11-libs/gdk-pixbuf + x11-libs/gtk+ + x11-libs/libdrm + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/libxshmfence + x11-libs/pango +" + +QA_PREBUILT="/opt/${PN}/*" + +src_prepare(){ + default +} + +src_install(){ + insinto /opt/"${PN}" + doins -r "${S}"/* + dosym ../../opt/"${PN}"/terminus "${EPREFIX}"/usr/bin/terminus + fperms +x /opt/"${PN}"/terminus + make_desktop_entry "/opt/${PN}/terminus %U" "Terminus" "terminus" \ + "GNOME;GTK;Utility;" \ + "GenericName=Terminus\n\nStartupNotify=true\nStartupWMClass=terminus" + doicon ../terminus.svg + doicon ../terminus.ico + for i in {16,24,32,48,64,72,96,128,512}; do + doicon -s "${i}" ../terminus-"${i}".png + done +} |