mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
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@scardovi.com>
This commit is contained in:
2
x11-terms/terminus/Manifest
Normal file
2
x11-terms/terminus/Manifest
Normal file
@@ -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
|
||||
12
x11-terms/terminus/metadata.xml
Normal file
12
x11-terms/terminus/metadata.xml
Normal file
@@ -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>marco@scardovi.com</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>
|
||||
39
x11-terms/terminus/terminus-1.0.134.ebuild
Normal file
39
x11-terms/terminus/terminus-1.0.134.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user