commit:     84b1fcf9e5ed89ff58c87989e97efb4f4d45d4d4
Author:     ScardracS <marco <AT> scardovi <DOT> com>
AuthorDate: Fri Mar 12 20:32:09 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 12 20:32:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84b1fcf9

x11-terms/terminus: uploading a new package

Terminus is a new terminal based on electron
with in mind lots of built-in features, options and beauty

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 x11-terms/terminus/Manifest                |  2 ++
 x11-terms/terminus/metadata.xml            | 12 +++++++++
 x11-terms/terminus/terminus-1.0.134.ebuild | 39 ++++++++++++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/x11-terms/terminus/Manifest b/x11-terms/terminus/Manifest
new file mode 100644
index 00000000..ef57fce1
--- /dev/null
+++ b/x11-terms/terminus/Manifest
@@ -0,0 +1,2 @@
+DIST terminus-1.0.134-linux.tar.gz 99631157 BLAKE2B 
32aef7110b2d201ae9efe5131cf8d9661476e47f05c296db709a907e78b7394db560ab9998f9dc0fbddbf17af5b5098d92da050bd5a190b423a46ff106585afa
 SHA512 
7a6abf79ef23bcd6b948c398cddc6e4b3ec40609ac108508c296d4dd1c4fe6c7645bd6908ae73b135a6825360f572d34483a153e731d29a1dd20a78e1c60907d
+DIST terminus-icons.tar.gz 29662 BLAKE2B 
156f1a41d230cd895fcd58528ed86980249a01486cd43b7fa0dfe6cab6de228cf107f4725ad25d01ffe48fefba8734bd7ec0183da1324750b481e9bef6e2497e
 SHA512 
03eef1909ce7da01ce7c058f57b5a2c792eacdd623532208568f312ecf0717dfde43790f2daa2a97ab0de9e137b0989c9c63a5ca8e71b0fcffdf67c63703fa26

diff --git a/x11-terms/terminus/metadata.xml b/x11-terms/terminus/metadata.xml
new file mode 100644
index 00000000..a6455884
--- /dev/null
+++ b/x11-terms/terminus/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Marco Scardovi</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">Eugeny/terminus</remote-id>
+               <remote-id type="github">ScardracS/icons</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/x11-terms/terminus/terminus-1.0.134.ebuild 
b/x11-terms/terminus/terminus-1.0.134.ebuild
new file mode 100644
index 00000000..8e075ce4
--- /dev/null
+++ b/x11-terms/terminus/terminus-1.0.134.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A terminal for a more modern age"
+HOMEPAGE="https://eugeny.github.io/terminus/";
+SRC_URI="https://github.com/Eugeny/${PN}/releases/download/v${PV}/${P}-linux.tar.gz
+https://github.com/ScardracS/icons/releases/download/release/${PN}-icons.tar.gz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+inherit desktop xdg-utils
+
+S=""${WORKDIR}"/"${P}"-linux"
+
+DEPEND="net-print/cups" # Requested by electron
+
+src_prepare(){
+       default
+
+       # Remove useless license files.
+       rm LICENSE.electron.txt LICENSES.electron.html
+}
+
+src_install(){
+       insinto /opt/"${PN}"
+       doins -r "${S}"/*
+       dosym "${EPREFIX}"/opt/"${PN}"/terminus "${EPREFIX}"/usr/bin/terminus
+       fperms +x /opt/"${PN}"/terminus
+       make_desktop_entry /opt/terminus/terminus 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
+}

Reply via email to