summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVojtech Kral2015-06-20 17:13:15 +0200
committerVojtech Kral2015-06-20 17:13:15 +0200
commit7ae04c977f84f98de1dcce3197466db81ee02c6f (patch)
tree231cb2bcdca5fd387b1dbc33bb70f2f68133b561
downloadaur-7ae04c977f84f98de1dcce3197466db81ee02c6f.tar.gz
Initial
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
-rwxr-xr-xprisma-puzzle-timer3
-rw-r--r--prisma-puzzle-timer.desktop9
4 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5f832b8c70f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = prisma-puzzle-timer
+ pkgdesc = Feature-rich timer for a number of mechanical puzzles
+ pkgver = 0.6
+ pkgrel = 1
+ url = https://bitbucket.org/walter/puzzle-timer
+ arch = any
+ license = BSD
+ depends = java-runtime
+ source = https://bitbucket.org/walter/puzzle-timer/downloads/PrismaPuzzleTimer0.6.jar
+ source = prisma-puzzle-timer
+ source = prisma-puzzle-timer.desktop
+ sha256sums = 9af37ba8f645e922edadb28997a028d2227bd41c90746d99887906e025e81709
+ sha256sums = fe8ae332c7d896a0d6c556727336de4a22b5f5476d970423278621a94b5a54f9
+ sha256sums = c3604cc9e11335a4deb8f127fd299b3e1a16d66bc39e969a37d9b509b36d3dc5
+
+pkgname = prisma-puzzle-timer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4de4151912b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Vojtech Kral <vojtech_kral^hk>
+
+
+pkgname=prisma-puzzle-timer
+pkgver=0.6
+pkgrel=1
+pkgdesc="Feature-rich timer for a number of mechanical puzzles"
+arch=('any')
+url="https://bitbucket.org/walter/puzzle-timer"
+ # Also: https://www.speedsolving.com/forum/showthread.php?25790-Prisma-Puzzle-Timer
+license=('BSD')
+depends=('java-runtime')
+
+source=("https://bitbucket.org/walter/puzzle-timer/downloads/PrismaPuzzleTimer${pkgver}.jar"
+ 'prisma-puzzle-timer'
+ 'prisma-puzzle-timer.desktop')
+# noextract=('PrismaPuzzleTimer${pkgver}.jar')
+sha256sums=('9af37ba8f645e922edadb28997a028d2227bd41c90746d99887906e025e81709'
+ 'fe8ae332c7d896a0d6c556727336de4a22b5f5476d970423278621a94b5a54f9'
+ 'c3604cc9e11335a4deb8f127fd299b3e1a16d66bc39e969a37d9b509b36d3dc5')
+
+package()
+{
+ install -Dm 644 "${srcdir}/PrismaPuzzleTimer${pkgver}.jar" "${pkgdir}/usr/share/prisma-puzzle-timer/PrismaPuzzleTimer${pkgver}.jar"
+ install -Dm 644 "${srcdir}/com/puzzletimer/resources/icon.png" "${pkgdir}/usr/share/prisma-puzzle-timer/icon.png"
+ install -Dm 755 "${srcdir}/prisma-puzzle-timer" "${pkgdir}/usr/bin/prisma-puzzle-timer"
+ desktop-file-install --dir="${pkgdir}/usr/share/applications/" 'prisma-puzzle-timer.desktop'
+}
diff --git a/prisma-puzzle-timer b/prisma-puzzle-timer
new file mode 100755
index 00000000000..231748c22f1
--- /dev/null
+++ b/prisma-puzzle-timer
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /usr/bin/java -jar '/usr/share/prisma-puzzle-timer/PrismaPuzzleTimer0.6.jar' "$@"
diff --git a/prisma-puzzle-timer.desktop b/prisma-puzzle-timer.desktop
new file mode 100644
index 00000000000..72a9a2caf93
--- /dev/null
+++ b/prisma-puzzle-timer.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Prisma Puzzle Timer
+Comment=Feature-rich timer for a number of mechanical puzzles
+Exec=prisma-puzzle-timer
+Icon=/usr/share/prisma-puzzle-timer/icon.png
+Terminal=false
+Categories=Game;LogicGame;Java;