games-misc/oh-my-git-bin: new package

This commit is contained in:
Schroedinger 2022-07-31 17:07:15 +08:00 committed by 梁永祥
parent bda9542ed1
commit e4ead32330
4 changed files with 112 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST oh-my-git-linux.zip 19506492 BLAKE2B 98f17a8b89414024dd7c4935eb078e02d93ba29f4bcec8b21ac4c380c8c1fbd089ac59a4ba34f480f9e83ad12ef365af1ff37818cc57e014fd0323dcbc2468a2 SHA512 a18dd4d569ffc5014fd83dd3d970fe7a234d8f5fbb30d1389db0ee739f1c55d0841251ba8116ec9727dd06a462959ca20651671bc7234dae0383fe4aefaf55ae

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dylanturing@protonmail.com</email>
<name>Schroedinger</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,48 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN=${PN/-bin}
MY_PATH=/opt/${MY_PN}
DESCRIPTION="An interactive Git learning game!"
HOMEPAGE="https://ohmygit.org/
https://github.com/git-learning-game/oh-my-git"
PKG_URI="https://blinry.itch.io/oh-my-git"
SRC_URI="${MY_PN}-linux.zip"
LICENSE="BlueOak-1.0.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="fetch"
DEPEND="
media-libs/alsa-lib
media-libs/libglvnd
media-libs/libpulse
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
"
RDEPEND="${DEPEND}"
BDEPEND="app-arch/unzip"
S="${WORKDIR}"
pkg_nofetch() {
elog "Please download ${A} from"
elog "${PKG_URI}"
elog "and place it in your DISTDIR directory."
}
src_install() {
insinto ${MY_PATH}
doins ${MY_PN}
doins ${MY_PN}.pck
dosym ../..${MY_PATH}/${MY_PN} /usr/bin/${MY_PN}
fperms +x ${MY_PATH}/${MY_PN}
}

55
licenses/BlueOak-1.0.0 Normal file
View File

@ -0,0 +1,55 @@
# Blue Oak Model License
Version 1.0.0
## Purpose
This license gives everyone as much permission to work with
this software as possible, while protecting contributors
from liability.
## Acceptance
In order to receive this license, you must agree to its
rules. The rules of this license are both obligations
under that agreement and conditions to your license.
You must not do anything with this software that triggers
a rule that you cannot or will not follow.
## Copyright
Each contributor licenses you to do everything with this
software that would otherwise infringe that contributor's
copyright in it.
## Notices
You must ensure that everyone who gets a copy of
any part of this software from you, with or without
changes, also gets the text of this license or a link to
<https://blueoakcouncil.org/license/1.0.0>.
## Excuse
If anyone notifies you in writing that you have not
complied with [Notices](#notices), you can keep your
license by taking all practical steps to comply within 30
days after the notice. If you do not do so, your license
ends immediately.
## Patent
Each contributor licenses you to do everything with this
software that would otherwise infringe any patent claims
they can license or become able to license.
## Reliability
No contributor can revoke this license.
## No Liability
***As far as the law allows, this software comes as is,
without any warranty or condition, and no contributor
will be liable to anyone for any damages related to this
software or this license, under any kind of legal claim.***