Skip to content

Commit

Permalink
games-strategy/cncnet: Add 1.0
Browse files Browse the repository at this point in the history
- Adds 'wine' as another master repository
- Adds CnCNet license

Package-Manager: Portage-3.0.17, Repoman-3.0.2
  • Loading branch information
konsolebox committed Jun 26, 2021
1 parent 5e7ecf8 commit afa4481
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 1 deletion.
3 changes: 3 additions & 0 deletions games-strategy/cncnet/Manifest
@@ -0,0 +1,3 @@
DIST cncnet-1.0-1-any.pkg.tar.xz 37572 BLAKE2B 8c27bde9746557ad6faf5b68b44a2e576fcb8316d481dd164a11b37857bc80375b4797398ea383ae4239de96ed6baad14e62c782ac94b888dbcebbc63413d1cf SHA512 79b43cf008bfe97aeca738e3eeeece4fc49965beb2f699dbecebb1a0c9c52c2b8e294127f6f2153f6b79d302d7bdfc5a5386e7ff7e24f6e7d267fe4c0c276a3f
EBUILD cncnet-1.0.ebuild 767 BLAKE2B 615dc061a781bad5ad81fb5470e35a48053f01b37e10647fa2e65e37ff6e0bcf25d1aa5614275846cbb6d164a504bae7c9710b3ca5e28ea5838c39cdc5323051 SHA512 93338d6d2d39ebdba1a508d699ca3cbc8a8262cf6410e8dd3b5083d6dfde21aeb85759ff4377424681462b4cc5a53a9c318bec6a64d7d6213255e3974cf5c9ad
MISC metadata.xml 260 BLAKE2B a61de2904690b006eeb1e71513707aee39c9cb83dc693a47a91cc5640eb9709d818592b883ec1b2cf747a20429f80f4e87fefa4fa2f5714f4b2420bd63061ea9 SHA512 6b2bd6e1564bb5ab7ffc6becce2ec6c0d7b3e4dbef29fb0dd489200cb2f3e609e0092e001dbdb27720c9977ecf55e9644b7427fc84d3c59c640f96621fd8f887
33 changes: 33 additions & 0 deletions games-strategy/cncnet/cncnet-1.0.ebuild
@@ -0,0 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit xdg-utils

DESCRIPTION="CnCNet"
HOMEPAGE="https://cncnet.org/"
SRC_URI="https://downloads.cncnet.org/cncnet-1.0-1-any.pkg.tar.xz"
LICENSE="CnCNet"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip"
RDEPEND="|| (
app-emulation/wine-any[abi_x86_32]
app-emulation/wine-d3d9
app-emulation/wine-staging[abi_x86_32]
app-emulation/wine-vanilla[abi_x86_32]
)"
S="${WORKDIR}"

src_install() {
dobin usr/games/cncnet
insinto "usr/share/doc/${P}"
doins usr/share/doc/cncnet/*
sed -i 's|/usr/games/|/usr/bin/|' usr/share/applications/cncnet.desktop
cp -pPR usr/share/{applications,icons} "${D}/usr/share/"
}

pkg_postinst() {
xdg_icon_cache_update
}
8 changes: 8 additions & 0 deletions games-strategy/cncnet/metadata.xml
@@ -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>konsolebox@gmail.com</email>
<description>konsolebox</description>
</maintainer>
</pkgmetadata>
48 changes: 48 additions & 0 deletions licenses/CnCNet
@@ -0,0 +1,48 @@
This licence agreement ("Agreement") is a legal agreement between you (the "Licensee") and CnCNet (the "Licensor"), for CnCNet Software products (the "Software"), which includes computer software, any data supplied with it, the associated media, printed materials and online OR electronic documentation. By installing this software you agree to the terms of this agreement which will bind you and your employees. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENCE, WE ARE UNWILLING TO LICENCE THE SOFTWARE TO YOU AND YOU MUST DISCONTINUE INSTALLATION OF CnCNet SOFTWARE NOW. In this case you must stop downloading CnCNet software now and remove CnCNet software entirely from your system.
(A) The Licensor wishes to license the Licensee to use CnCNet Software.

It is agreed as follows:-

1.1 The definitions and rules of interpretation in this clause apply to this licence. Intellectual Property Rights: all patents, copyrights, design rights, trade marks, service marks, trade secrets, know-how, database rights and other rights in the nature of intellectual property rights (whether registered or unregistered) and all worldwide applications for the same

1.2 The Licensor agrees to permit the Licensee to use CnCNet Software on the Licensee's computer or computer system free of charge subject to the terms and conditions of this Agreement.

1.3 The licence that this Agreement passes to the Licensee is non-transferable and non-exclusive.

1.4 This Agreement does not transfer any rights of ownership, copyright or other intellectual property in the CnCNet Software to the Licensee.

1.5 The Licensee has no right (and shall not permit any third party) to copy CnCNet Software.

1.6 The Licensee shall not adapt, decompile, reverse engineer, disassemble or otherwise tamper with CnCNet Software, nor shall it modify, sell, rent, transfer, resell for profit, distribute of create derivative works based upon CnCNet Software or any part of it.

1.7 The Licensee acknowledges that all Intellectual Property Rights in CnCNet Software belong and shall belong to the Licensor, and that the Licensee shall have no rights in or to CnCNet Software other than the right to use it in accordance with the terms of this licence.

2. Conditions of Licence

2.1 CnCNet Software is provided 'as is' and free of charge to the Licensee. Therefore, it is supplied without warranty (express or implied) of any kind from the Licensor, including but not limited to a warranty of satisfactory quality, fitness for a particular purpose and non-infringement. The Licensee's rights as a consumer are not affected.

2.2 CnCNet Software is provided with technical support or maintenance at CnCNet discretion.

2.3 The Licensee is not permitted or entitled to use the Software for commercial purposes or any other such purposes which cause the Licensee to make financial gain or other benefit in return.

2.4 This Agreement constitutes the entire agreement between the parties.

2.5 You have read and agree to our privacy policy

3. Disclaimer of liability

3.1 It is fundamental to the circumstances of the supply of CnCNet Software that the Licensor and its group companies will not be liable to the Licensee or any third party for any loss of revenue or profits, loss of business, loss of anticipated savings, loss of data or the like or any direct, indirect, special, incidental or consequential damage relation to CnCNet Software in any way, or for inability to use the Software for any reason.

3.2 The disclaimer of liability at clause 3.1 applies to any claim whether based on breach of contract, tort (including, but not restricted to, negligence), product liability or otherwise.

3.3 Liability for death or personal injury is excepted from the disclaimers at clause 3.1 and 3.2. 3.4 This clause 3 still applies even if the Licensor has been notified of the possibility of any damage. 3.5 The Licensee agrees that they have read and understood the significance of this clause and understands that that the Licensor must limit and exclude its liability as much as legally possible.

4. Indemnity

4.1 The Licensee agrees to indemnify the Licensor against any loss, damage, fine or expense suffered by the Licensor as a result of the Licensee's use or misuse of CnCNet Software or as a result of unauthorised access to the Software cause by the Licensee's breach of any provision of this Agreement.

5. General terms

5.1 If any provision of this Agreement is judged to be illegal or unenforceable, the continuation in full force and effect of the remainder of the provisions shall not be prejudiced.

5.2 This Agreement shall be governed by and construed according to English law. The Licensor and Licensee agree to submit to the non-exclusive jurisdiction of the English courts
2 changes: 1 addition & 1 deletion metadata/layout.conf
@@ -1 +1 @@
masters = gentoo
masters = gentoo wine

0 comments on commit afa4481

Please sign in to comment.