games-puzzle/charley added.
This commit is contained in:
parent
a9b32e431b
commit
1d2a981af2
|
@ -0,0 +1,2 @@
|
||||||
|
AUX charleygame-bin.sh 45 SHA256 ff1a4cbc89383b8983942a51e165f7ddaebfa2f38def5aef5a2c09370f5fcb77 SHA512 1270d8f6c0ba0761516d9b150e6a7f7d55e306ea05110938da6662ddc03bab0b297968996282cef54cb6fdd9c22401f3e5a3d7108243b68479ce6920d3e01522 WHIRLPOOL 0bf463bb0629a261328316eda11d9beaab49bb05775fab207acc5e28a3599fcd6b785e8b407d3f62e1f35b6d7ac4077fc5b72b22ff43ba3c765674185ab6ff52
|
||||||
|
EBUILD charley-9999.ebuild 948 SHA256 ea2d456f6c492127fc081237f2ea85272caf13eb596797e2105a6f1aeecaead7 SHA512 0d23742d46b7798e4ee08b55d3dd7a86bf74036d38fe527cfa609fb4169bb674ddc2d7656bc18aefa8297af850216bd8a9892aecc8e6b4c60f77be4047c3d66b WHIRLPOOL 40f27a0ad93747b88f147bdd153231104e05d8e2f87a37061af59ea5ffc7aeb368d62c41423c11e562a148c16adca5dfb368a9a189b0628dca3016f920277b88
|
|
@ -0,0 +1,47 @@
|
||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/masterfri/Charley.git"}
|
||||||
|
inherit git-2
|
||||||
|
KEYWORDS=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/masterfri/charley/archive/${P}.zip"
|
||||||
|
KEYWORDS="-* ~x86 ~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="A ghost called Charley who wanders in deserted castle."
|
||||||
|
|
||||||
|
HOMEPAGE="http://masterfri.org.ua/charley/en/"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="virtual/opengl
|
||||||
|
media-libs/libsdl
|
||||||
|
media-libs/sdl-image
|
||||||
|
media-libs/sdl-mixer
|
||||||
|
media-libs/sdl-ttf"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
INSTALL_BASE="opt/Charley"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local BASE=${INSTALL_BASE}
|
||||||
|
|
||||||
|
mkdir -p ${D}/${BASE}
|
||||||
|
cp -R build/* ${D}/${BASE}
|
||||||
|
|
||||||
|
chmod a+x ${D}/${BASE}/charleygame-bin
|
||||||
|
|
||||||
|
mkdir -p ${D}/usr/bin
|
||||||
|
cp ${FILESDIR}/charleygame-bin.sh ${D}/usr/bin/charleygame-bin.sh
|
||||||
|
chmod a+x ${D}/usr/bin/charleygame-bin.sh
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd /opt/Charley
|
||||||
|
./charleygame-bin
|
Loading…
Reference in New Issue