summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5f832b8c70f..35742a902ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Sun Oct 30 14:15:04 UTC 2016
pkgbase = prisma-puzzle-timer
pkgdesc = Feature-rich timer for a number of mechanical puzzles
pkgver = 0.6
@@ -6,6 +8,7 @@ pkgbase = prisma-puzzle-timer
arch = any
license = BSD
depends = java-runtime
+ noextract = PrismaPuzzleTimer0.6.jar
source = https://bitbucket.org/walter/puzzle-timer/downloads/PrismaPuzzleTimer0.6.jar
source = prisma-puzzle-timer
source = prisma-puzzle-timer.desktop
diff --git a/PKGBUILD b/PKGBUILD
index 4de4151912b..6abcd34ef37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,5 @@
# Maintainer: Vojtech Kral <vojtech_kral^hk>
-
pkgname=prisma-puzzle-timer
pkgver=0.6
pkgrel=1
@@ -14,7 +13,7 @@ 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')
+noextract=("PrismaPuzzleTimer${pkgver}.jar")
sha256sums=('9af37ba8f645e922edadb28997a028d2227bd41c90746d99887906e025e81709'
'fe8ae332c7d896a0d6c556727336de4a22b5f5476d970423278621a94b5a54f9'
'c3604cc9e11335a4deb8f127fd299b3e1a16d66bc39e969a37d9b509b36d3dc5')
@@ -22,7 +21,8 @@ sha256sums=('9af37ba8f645e922edadb28997a028d2227bd41c90746d99887906e025e81709'
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 644 '/dev/null' "${pkgdir}/usr/share/prisma-puzzle-timer/icon.png"
+ bsdtar -xOf "${srcdir}/PrismaPuzzleTimer${pkgver}.jar" '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'
}