summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7ce76845b7e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = stegsolve
+ pkgdesc = A steganographic image analyzer, solver and data extractor for challanges
+ pkgver = 1.3
+ pkgrel = 3
+ url = https://www.wechall.net/de/forum/show/thread/527/Stegsolve_1.3/
+ arch = any
+ license = unknown
+ depends = java-runtime
+ depends = sh
+ noextract = stegsolve-1.3.jar
+ source = stegsolve-1.3.jar::http://www.caesum.com/handbook/Stegsolve.jar
+ sha512sums = 1bb0d4a6c0787381045b4ff28a9feafe548b29e105bef1f91ce38d244fda75c3e3b51c55b619da4f4d3ddc264f58a41194128f40a6eb54a0c3928cf6cc3f6b7e
+
+pkgname = stegsolve
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f53f5fd930
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Levente Polyak <levente[at]leventepolyak[dot]net>
+
+pkgname=stegsolve
+pkgver=1.3
+pkgrel=3
+pkgdesc="A steganographic image analyzer, solver and data extractor for challanges"
+url="https://www.wechall.net/de/forum/show/thread/527/Stegsolve_1.3/"
+arch=('any')
+license=('unknown')
+depends=('java-runtime' 'sh')
+source=(${pkgname}-${pkgver}.jar::http://www.caesum.com/handbook/Stegsolve.jar)
+noextract=("${pkgname}-${pkgver}.jar")
+sha512sums=('1bb0d4a6c0787381045b4ff28a9feafe548b29e105bef1f91ce38d244fda75c3e3b51c55b619da4f4d3ddc264f58a41194128f40a6eb54a0c3928cf6cc3f6b7e')
+
+build() {
+ cat > ${pkgname} <<EOF
+#!/bin/sh
+"\$JAVA_HOME/bin/java" -jar "/usr/share/java/${pkgname}/${pkgname}.jar"
+EOF
+}
+
+package() {
+ install -Dm 644 ${pkgname}-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
+ install -Dm 755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et: