diff --git a/games-arcade/tetrio-desktop/Manifest b/games-arcade/tetrio-desktop/Manifest new file mode 100644 index 0000000..8f7013a --- /dev/null +++ b/games-arcade/tetrio-desktop/Manifest @@ -0,0 +1 @@ +DIST TETR.IO%20Setup.tar.gz 72765864 BLAKE2B 1b3e3673cb5ea460f6097b8732ac2cb6fd8298474560484b4d1bd3b086338a574db17dd32c3e7bca98d0a59ad581ba78acba9658eff4d7398a85a4ce9d34e651 SHA512 b8240b19654a4b5be012ce192407f090c73866fdf93fbddf45fac2aab7b59bfc3356cb83374298e0ee057f31d2aa0dd82ec215b5c1b9357d659bb7e82bc2946d diff --git a/games-arcade/tetrio-desktop/metadata.xml b/games-arcade/tetrio-desktop/metadata.xml new file mode 100644 index 0000000..097975e --- /dev/null +++ b/games-arcade/tetrio-desktop/metadata.xml @@ -0,0 +1,4 @@ + + + + diff --git a/games-arcade/tetrio-desktop/tetrio-desktop-4.0.0.ebuild b/games-arcade/tetrio-desktop/tetrio-desktop-4.0.0.ebuild new file mode 100644 index 0000000..f73e6fc --- /dev/null +++ b/games-arcade/tetrio-desktop/tetrio-desktop-4.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop pax-utils xdg + +DESCRIPTION="TETR.IO desktop client" +HOMEPAGE="https://tetr.io/" +SRC_URI="https://tetr.io/about/desktop/builds/TETR.IO%20Setup.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" + +src_install(){ + pax-mark m code + insinto "/opt/${PN}" + doins -r * + dosym "../../opt/${PN}/tetrio-desktop" "/usr/bin/tetrio-desktop" + make_desktop_entry "tetrio-desktop" "TETR.IO Desktop" "" "Game;ArcadeGame" + fperms +x "/opt/${PN}/tetrio-desktop" + insinto "/usr/share/licenses/${PN}" +}