summaryrefslogtreecommitdiff
path: root/games-board/cgoban2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-board/cgoban2
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/cgoban2')
-rw-r--r--games-board/cgoban2/Manifest4
-rw-r--r--games-board/cgoban2/cgoban2-2.6.12-r1.ebuild25
-rw-r--r--games-board/cgoban2/files/cgoban211
-rw-r--r--games-board/cgoban2/metadata.xml8
4 files changed, 48 insertions, 0 deletions
diff --git a/games-board/cgoban2/Manifest b/games-board/cgoban2/Manifest
new file mode 100644
index 000000000000..53e5446128d7
--- /dev/null
+++ b/games-board/cgoban2/Manifest
@@ -0,0 +1,4 @@
+AUX cgoban2 324 BLAKE2B 1f16102f3ded47289ac6fe273b1e3bb96e780ea25a309b6ad77b67d274ed3184adfb0cfffd3306b5f8959acdf9b01781dd3da440b6f6050e7a0256c8343a1056 SHA512 67b89373238fde6c8589719b36af7e08d6bfe42c945265f6416e7f7553cb66f90c70f03d48ab99c8d7d7ef039a93e77d285f29a1af96069201b227a8a1970e4b
+DIST cgoban-unix-2.6.12.tar.bz2 1180638 BLAKE2B 6e2d060fa0494d02549a444f83e52c485c165d7906cf46a6f73bec10cb41d462c17cf89fb314abcc2f3808756862ac36b3ad65a5135c374605c6e4dd52bd9e1c SHA512 70725778ea25d4054d6944a25b512fe247ebc2280395cb0f4ee58e2f3c96dc6405ea3ed2ec03637ea3b3f2d4be470110181b117cedc13fad28bf8f66d146f6a3
+EBUILD cgoban2-2.6.12-r1.ebuild 558 BLAKE2B aa3803bf2c9dc8c20c5cdd42982ef945ac8a71efae350466b7c6d3e8af291ac336268ab69dfa8f30dac5c1bc5adb0b7bce9707876dcbfdcc7af7123a4d2aa390 SHA512 df53ce9d38b331d94e07e717686215e10952067ff07468e236b0633a7b1d46e89d34656d2eaa80622f1c505e7a3dfc67f1e5b6606076414e4fb123be3c41c502
+MISC metadata.xml 247 BLAKE2B 6e885a4bc233754242982df43837c623e79b6e0f9149c9bf81b7ab904ae7f25ef2c1e2657c695f37cd57c2883359a78a09d8c3d1467a90634a857021984bc58d SHA512 fd894fe434a856714537ba8d3dcc8b0ae16889f6b44634e8844143ae15450013d9c4558b2df6215edad3762ebc727d166371b35bcccaa7353426388a04d71216
diff --git a/games-board/cgoban2/cgoban2-2.6.12-r1.ebuild b/games-board/cgoban2/cgoban2-2.6.12-r1.ebuild
new file mode 100644
index 000000000000..4a06481597fd
--- /dev/null
+++ b/games-board/cgoban2/cgoban2-2.6.12-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A Java client for the Kiseido Go Server, and a SGF editor"
+HOMEPAGE="http://www.gokgs.com/"
+SRC_URI="mirror://gentoo/cgoban-unix-${PV}.tar.bz2"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.3"
+
+S=${WORKDIR}/cgoban
+
+src_install() {
+ dodir /usr/bin
+ sed -e "s:INSTALL_DIR:/usr/share/${PN}:" \
+ "${FILESDIR}/${PN}" > "${D}/usr/bin/${PN}" || die
+ insinto /usr/share/${PN}
+ doins cgoban.jar
+}
diff --git a/games-board/cgoban2/files/cgoban2 b/games-board/cgoban2/files/cgoban2
new file mode 100644
index 000000000000..db6cd5b371d0
--- /dev/null
+++ b/games-board/cgoban2/files/cgoban2
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+which java > /dev/null 2>&1 && \
+ java -jar INSTALL_DIR/cgoban.jar "${@}" && \
+ exit 0
+
+echo "No \"java\" binary found in your PATH."
+echo "You should run \"java-config\" to choose your default VM."
+exit 1
diff --git a/games-board/cgoban2/metadata.xml b/games-board/cgoban2/metadata.xml
new file mode 100644
index 000000000000..8301b92ba307
--- /dev/null
+++ b/games-board/cgoban2/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="project">
+<email>games@gentoo.org</email>
+<name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>