forked from funtoo/games-kit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged: flora: e84c1d51de3d9a281e0a23c133bb93ad49340a53 faustoo: e957a7aac70f92628fd8c0c65263d549b5626217 fusion809: 9339bd9e6c258b3a6d36af4e94c0d87a957936b5 gentoo-staging: 5e820372c0834fe6d40a084cf77aa0c5d291a9dd kit-fixups: 9e6aa30e2fe0aca4ccba4c7c2f2a7d3b2b6cb842
- Loading branch information
1 parent
facfeaa
commit 17aaf51
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST JRomManager-1.6b20.zip 9284236 BLAKE2B a874837e90bdd8ec6c55850fd0e61cabeb767f4b4eba6517a11f3de036a6fd95f7507593da7b5247824c38077b12ac52c490f5ec0e72077bd972c78810c58ebd SHA512 5d4a98989bd9eb2ba94dd50fe451308d9a628414e33cdc84814c55bf9679c3779253a8fab895e2f7922e3b837949e8065f2799707aeaab94d79a12ba73d83638 | ||
DIST JRomManager-1.7b24.zip 9293410 BLAKE2B e73456273e6b2ef960bf94f9c0b4f241829474187fbe7205f98f1bf03abfc3e5eeed4803303ede6e937168daf9eed0ea47499addc00eb153269e9228f4bded61 SHA512 e10ad63348d9eba20175b5d620b32876730900abbe2d8bf9add1ba58f2b7f1d54fbd5a94ec937ab8b94f69c29979302630f2e81cba8d10176b83ec65ba55333f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
MY_PN=JRomManager | ||
MY_PV=${PV/_p/b} | ||
MY_P="${MY_PN}-${MY_PV}" | ||
|
||
inherit desktop | ||
|
||
DESCRIPTION="A Mame and Retrogaming Rom Manager, Java alternative to ClrMamePro" | ||
HOMEPAGE="https://github.com/optyfr/JRomManager" | ||
SRC_URI="https://github.com/optyfr/${MY_PN}/releases/download/${MY_PV}/${MY_P}.zip" | ||
QA_PREBUILT="*" | ||
|
||
S="${WORKDIR}" | ||
|
||
LICENSE="GPL-2 GPL-2-with-classpath-exception BSD-2 MIT Apache-2.0 LGPL-2.1 unRAR" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
RDEPEND=">=virtual/jre-1.8" | ||
DEPEND="${DEPEND} | ||
app-arch/unzip" | ||
|
||
src_prepare() { | ||
default | ||
|
||
sed -e "/dir=.*/s:.*:cd \"${EROOT}/usr/share/${PN}\" || exit:" -i *.sh || die "sed failed!" | ||
unzip -j ${MY_PN}.jar "jrm/resources/rom.png" || die | ||
} | ||
|
||
src_install() { | ||
insinto "/usr/share/${PN}" | ||
doins *.jar | ||
doins -r lib | ||
newbin "${MY_PN}-multi.sh" "${PN}" | ||
newicon "rom.png" "${PN}.png" | ||
make_desktop_entry "${PN}" '' '' 'Utility' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters