summaryrefslogtreecommitdiff
path: root/games-util/pogo-manager-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-util/pogo-manager-bin
reinit the tree, so we can have metadata
Diffstat (limited to 'games-util/pogo-manager-bin')
-rw-r--r--games-util/pogo-manager-bin/Manifest7
-rw-r--r--games-util/pogo-manager-bin/files/pogo-manager17
-rw-r--r--games-util/pogo-manager-bin/metadata.xml14
-rw-r--r--games-util/pogo-manager-bin/pogo-manager-bin-0.1.6.ebuild34
-rw-r--r--games-util/pogo-manager-bin/pogo-manager-bin-0.1.7.ebuild34
5 files changed, 106 insertions, 0 deletions
diff --git a/games-util/pogo-manager-bin/Manifest b/games-util/pogo-manager-bin/Manifest
new file mode 100644
index 000000000000..0d13360abd70
--- /dev/null
+++ b/games-util/pogo-manager-bin/Manifest
@@ -0,0 +1,7 @@
+AUX pogo-manager 485 SHA256 694a16dc9beaebf9ef42570712d20698e945d4394b275d8ff81870ae723f5a9c SHA512 d95abdc10df5aefca0e84a4fc39d2da62a78d82cd076ad899c0b602f639f500a13ddd3f0c1477b6ef9cc8524859cd5d72aeb827d4f1cf0b805c6a247d45c8edf WHIRLPOOL 01970784e4223721ac914dfaf8f1f9985516096423c5a9e8c8ab7dae452b9eb79e4a49ca87723c8fe73c5c94e692beac8a1f86b0556bbcb5f77a2b13bfdaf379
+DIST pogo-manager-bin-0.1.6.zip 7703380 SHA256 57c019ba56b038c4ee87adcd60d80611b1633a39c5dc15de3c4f7d4bbee63ea9 SHA512 d09e5f905fad659b5f380c25e8ccb7f9423430a1210ebb15e233f7f9436dff0307897ce372fdedf1b44ff48bd682b1f991a5fa3ac28a98af18d2a2bec72b08b0 WHIRLPOOL 94e7ca564f833e4cb23c1542fa2fd6100cfed9d8cbab53b53622db4d8121bca5aacef9dc86f2bfbba11407d345d1a368492e28e6b3aeb66554feebe783205d36
+DIST pogo-manager-bin-0.1.7.zip 7978366 SHA256 607e7b74723c21d03cad4b2d70786c1b7abacb3c2facfe6b018ab0f7c7f23fc6 SHA512 6d43626d0b7edb756d0a36b8114782ea78bd87fe1f4bdcd78c8d724961ad1635042ab8e0e7f489c5c5cf8b09fa14788c701a14eb5bdce1cf21ed95c3e97fa90a WHIRLPOOL 78fa621414446510ad3cce721b91edbbf317a3101012fb5a9d884f243ef041f7dac1801d82606b059a9d7237d575964b51c4ea959a90a01e85b8330c0877951d
+EBUILD pogo-manager-bin-0.1.6.ebuild 813 SHA256 df69b9537ca35cc5d5b1d1e6a4abffb6c21a62734b6fc112045c7233b75fdb6a SHA512 02e77126376f2b4877c48dee79177b71df2b0f1a18b2d93aa2f88dc28dd2612a2ba40c0929a6ed8398668ba61b641ca4efc6486aa28c777f3dabade49658355d WHIRLPOOL d54bb5b9ac9c84da5adbeca1cab73f1acd661f5e1e11bd0978154ca22aa4aaa80bbc79cc161d7855fbb34c2b30acddb88a7822dd63aa52d6dec31124a78a86c1
+EBUILD pogo-manager-bin-0.1.7.ebuild 814 SHA256 09ebd5b63983f419870ec9cf1a0b9c97874df86a85da72da843af85f3af50614 SHA512 2c530bc42be1263c008a71c980947ea3460f473525b1175f559b4c1e60140e94243913249edbe9a6722f6507bc7544406f252c89c5a692dc1dfb7806d371f88c WHIRLPOOL 74a4b9a4862bd7ccfb21374c5b48695eb0727a1e424526ae26ff79f68364cd815c469a90696a00dee0bcf3cc5cfbd023adde5b106355d193407ae46ad7fafe9a
+MISC ChangeLog 546 SHA256 d315397d13b774add70f0c83b540ffb4ba18238c8106064aefdcb77852a7e1b9 SHA512 fcb21c45995358c96a64c28280bc111e6df878dfd8f24d24729f9d9f2817a0585a5491defe75f8c4e19485d9615d95ecc4e12bb00f91eef54772620932f5e3dd WHIRLPOOL 8513d100ed7ef02ccd0a08f13236d24bfe10ff16e901abeb682402c31dd82c30b405a765628a82f93c0a0c0414fa0ddccd57d981e2fe63d923411de9e7a23a9f
+MISC metadata.xml 490 SHA256 5e8b6a9b945eed1d3535288992ea96137ba743cd159414fb8d0156f64f69b1d7 SHA512 e2b41bf4dbebfa0f1f26f0856fe291dedf7553c059b9d2d2049dc97eb9a6e0655d631fe41efc52aa67dfad5d6338548ff4602f3c6695ffbc5eb0068ce5ed446c WHIRLPOOL 47f570a3764737575977b18cc18d17ec88a84333b2a573b2dcad98fd1b536cc5d9d698a66f4c398705c8f0b272eb1625cf93e3ec18e71b0de27df73143129773
diff --git a/games-util/pogo-manager-bin/files/pogo-manager b/games-util/pogo-manager-bin/files/pogo-manager
new file mode 100644
index 000000000000..9866fec91a84
--- /dev/null
+++ b/games-util/pogo-manager-bin/files/pogo-manager
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Config files are written to current directory, so make a config dir and pushd there
+
+if [[ ! -z "${XDG_CONFIG_DIR}" ]] ; then
+ config_dir="${XDG_CONFIG_DIR}/pogo-manager"
+elif [[ ! -z "${HOME}" ]] ; then
+ config_dir="${HOME}/.config/pogo-manager"
+else
+ config_dir="$(mktemp -d)"
+fi
+
+echo "Using ${config_dir} for configuration files"
+mkdir -p "${config_dir}"
+pushd "${config_dir}" > /dev/null
+java -Dfile.encoding=UTF-8 -jar /opt/pogo-manager/pogo-manager.jar
+
diff --git a/games-util/pogo-manager-bin/metadata.xml b/games-util/pogo-manager-bin/metadata.xml
new file mode 100644
index 000000000000..591d99816ca6
--- /dev/null
+++ b/games-util/pogo-manager-bin/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wizardedit@gentoo.org</email>
+ <name>Austin English</name>
+ </maintainer>
+ <longdescription>
+ Utility to manage Pokemon Go accounts. Not sanctioned by Niantic, use at your own risk.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">Wolfsblvt/BlossomsPokemonGoManager</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-util/pogo-manager-bin/pogo-manager-bin-0.1.6.ebuild b/games-util/pogo-manager-bin/pogo-manager-bin-0.1.6.ebuild
new file mode 100644
index 000000000000..a58f94b84142
--- /dev/null
+++ b/games-util/pogo-manager-bin/pogo-manager-bin-0.1.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/-bin}"
+
+DESCRIPTION="Pokemon Go manager"
+HOMEPAGE="https://github.com/Wolfsblvt/BlossomsPokemonGoManager"
+SRC_URI="https://github.com/Wolfsblvt/BlossomsPokemonGoManager/releases/download/v${PV}/BPGM_v${PV}.zip -> ${P}.zip"
+
+LICENSE="CC-BY-NC-SA-4.0"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE=""
+
+RDEPEND="|| ( dev-java/oracle-jdk-bin:1.8[javafx] dev-java/oracle-jre-bin:1.8[javafx] )"
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/BPGM_v${PV}"
+
+src_install()
+{
+ insinto /opt/${MY_PN}
+ newins BlossomsPogoManager.jar ${MY_PN}.jar
+
+ dobin "${FILESDIR}/pogo-manager"
+}
+
+pkg_postinst()
+{
+ ewarn "Use of this tool is not sanctioned by Niantic and could get you banned."
+ ewarn "You have been warned!"
+}
diff --git a/games-util/pogo-manager-bin/pogo-manager-bin-0.1.7.ebuild b/games-util/pogo-manager-bin/pogo-manager-bin-0.1.7.ebuild
new file mode 100644
index 000000000000..5d4eb27d04bc
--- /dev/null
+++ b/games-util/pogo-manager-bin/pogo-manager-bin-0.1.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/-bin}"
+
+DESCRIPTION="Pokemon Go manager"
+HOMEPAGE="https://github.com/Wolfsblvt/BlossomsPokemonGoManager"
+SRC_URI="https://github.com/Wolfsblvt/BlossomsPokemonGoManager/releases/download/v${PV}/BPGM_v${PV}.zip -> ${P}.zip"
+
+LICENSE="CC-BY-NC-SA-4.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="|| ( dev-java/oracle-jdk-bin:1.8[javafx] dev-java/oracle-jre-bin:1.8[javafx] )"
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/BPGM_v${PV}"
+
+src_install()
+{
+ insinto /opt/${MY_PN}
+ newins BlossomsPogoManager.jar ${MY_PN}.jar
+
+ dobin "${FILESDIR}/pogo-manager"
+}
+
+pkg_postinst()
+{
+ ewarn "Use of this tool is not sanctioned by Niantic and could get you banned."
+ ewarn "You have been warned!"
+}