summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore1
-rw-r--r--ChangeLog4
-rw-r--r--PKGBUILD26
-rwxr-xr-xminecraft-save-seed-reader3
5 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7ccf64f5f82
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = minecraft-save-seed-reader
+ pkgdesc = Allows you to toggle the game mode of Minecraft worlds/saves.
+ pkgver = 1.6.1
+ pkgrel = 1
+ url = http://www.minecraftforum.net/topic/612625-pc-mac-linux10-minecraft-save-seed-reader-161-now-includes-hardcore-toggle/
+ changelog = ChangeLog
+ arch = any
+ license = BSD
+ depends = java-runtime
+ optdepends = minecraft: The game whose files this program modifies
+ source = minecraft-save-seed-reader
+ source = https://github.com/downloads/thedarkfreak/Minecraft-Save-Seed-Reader/MinecraftSeed.zip
+ md5sums = f103f56c33d74318ac25cf5de8ecc541
+ md5sums = 62d3a02d976a591d967d42b097e4de31
+
+pkgname = minecraft-save-seed-reader
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..d3ecf9bad83
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+MinecraftSeed.zip
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 00000000000..264e2eb78b9
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,4 @@
+2011-12-01 Frederik "Freso" S. Olesen <freso.dk@gmail.com>
+
+ * 1.6.1-1 :
+ First edition of this package. Happy holidays. :p
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f22cf05bf64
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Frederik "Freso" S. Olesen <freso.dk@gmail.com>
+pkgname=minecraft-save-seed-reader
+pkgver=1.6.1
+pkgrel=1
+pkgdesc='Allows you to toggle the game mode of Minecraft worlds/saves.'
+arch=(any)
+url='http://www.minecraftforum.net/topic/612625-pc-mac-linux10-minecraft-save-seed-reader-161-now-includes-hardcore-toggle/'
+license=('BSD')
+depends=('java-runtime')
+optdepends=('minecraft: The game whose files this program modifies')
+changelog=ChangeLog
+source=(minecraft-save-seed-reader
+ 'https://github.com/downloads/thedarkfreak/Minecraft-Save-Seed-Reader/MinecraftSeed.zip')
+md5sums=('f103f56c33d74318ac25cf5de8ecc541'
+ '62d3a02d976a591d967d42b097e4de31')
+
+package() {
+ cd "$srcdir"
+
+ install -Dm755 "minecraft-save-seed-reader" "$pkgdir/usr/bin/minecraft-save-seed-reader"
+ install -Dm644 "MinecraftSeed.jar" "$pkgdir/usr/share/$pkgname/MinecraftSeed.jar"
+ install -Dm644 "README.txt" "$pkgdir/usr/share/docs/$pkgname/README.txt"
+ install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/minecraft-save-seed-reader b/minecraft-save-seed-reader
new file mode 100755
index 00000000000..a8b96ee07ad
--- /dev/null
+++ b/minecraft-save-seed-reader
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -jar /usr/share/minecraft-save-seed-reader/MinecraftSeed.jar