diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-14 23:36:26 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-14 23:38:55 +0200 |
commit | ff0c3a61cc4810203d8874799451d9ff20647c41 (patch) | |
tree | e450c84a689709bcd14b55e0e0fa8da3598dba5f /games-puzzle/biniax2/biniax2-1.30-r1.ebuild | |
parent | games-puzzle/amoebax: Update patches (diff) | |
download | gentoo-ff0c3a61cc4810203d8874799451d9ff20647c41.tar.gz gentoo-ff0c3a61cc4810203d8874799451d9ff20647c41.tar.bz2 gentoo-ff0c3a61cc4810203d8874799451d9ff20647c41.zip |
games-puzzle/biniax2: Stop using games.eclass
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'games-puzzle/biniax2/biniax2-1.30-r1.ebuild')
-rw-r--r-- | games-puzzle/biniax2/biniax2-1.30-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/games-puzzle/biniax2/biniax2-1.30-r1.ebuild b/games-puzzle/biniax2/biniax2-1.30-r1.ebuild new file mode 100644 index 000000000000..e4710407e8e7 --- /dev/null +++ b/games-puzzle/biniax2/biniax2-1.30-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Logic game with arcade and tactics modes" +HOMEPAGE="http://biniax.com/" +SRC_URI="http://mordred.dir.bg/biniax/${P}-fullsrc.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_prepare() { + default + + rm -f data/Thumbs.db + sed -i \ + -e "s:data/:/usr/share/${PN}/:" \ + desktop/{gfx,snd}.c \ + || die + eapply \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-dotfiles.patch +} + +src_install() { + dobin ${PN} + insinto "/usr/share/${PN}" + doins -r data/* + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry ${PN} Biniax-2 +} |