Merge branch 'master' into 'master'

games-arcade/tetrio-desktop: Added

See merge request src_prepare/src_prepare-overlay!108
This commit is contained in:
Parona 2020-10-17 15:27:43 +00:00
commit d4341cbb42
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST TETR.IO%20Setup.tar.gz 72765864 BLAKE2B 1b3e3673cb5ea460f6097b8732ac2cb6fd8298474560484b4d1bd3b086338a574db17dd32c3e7bca98d0a59ad581ba78acba9658eff4d7398a85a4ce9d34e651 SHA512 b8240b19654a4b5be012ce192407f090c73866fdf93fbddf45fac2aab7b59bfc3356cb83374298e0ee057f31d2aa0dd82ec215b5c1b9357d659bb7e82bc2946d

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>

View File

@ -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}"
}