blob: 278724849ed92e6fff4266f60468ec27277f386c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# By eroen <eroen-overlay@occam.eroen.eu>, 2016
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
# $Id$
EAPI=6
inherit eutils gnome2-utils steam
DESCRIPTION="Platforming with an adorable cube of meat"
HOMEPAGE="http://www.supermeatboy.com https://steamdb.info/app/40809"
#SRC_URI="~amd64 ~x86"
LICENSE="all-rights-reserved"
RESTRICT="bindist"
STEAM_app_id=40800
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="media-libs/libsdl2
media-libs/openal
sys-devel/gcc[cxx]"
src_install() {
exeinto /opt/$PN/bin
use amd64 && doexe amd64/*
use x86 && doexe x86/*
insinto /opt/$PN
doins -r resources
doins buttonmap.cfg gameaudio.dat gamedata.dat locdb.txt steam_appid.txt
doicon -s 64 supermeatboy.png
make_wrapper $PN /opt/$PN/bin/SuperMeatBoy /opt/$PN
make_desktop_entry $PN SuperMeatBoy supermeatboy
dodoc README-linux.txt
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|