src_prepare-overlay/games-arcade/tetrio-desktop/tetrio-desktop-4.0.0.ebuild

25 lines
624 B
Bash
Raw Permalink Normal View History

2020-10-17 15:55:48 +02:00
# 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"
2020-10-17 15:55:48 +02:00
SLOT="0"
KEYWORDS="~amd64"
2020-10-17 15:55:48 +02:00
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}"
}