summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--pseuco-ide2
3 files changed, 8 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e68294dd286..1a7a5f9bc76 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,10 +9,12 @@ pkgbase = pseuco-ide
conflicts = pseuco-ide
source = https://dgit.cs.uni-saarland.de/pseuco/pseuco-ide/-/jobs/artifacts/master/download?job=jar
source = pseuco-ide.desktop
+ source = pseuco-ide
source = .install
sha256sums = SKIP
sha256sums = 87186ce1e69f6737c02929ec3fa5898d795a567200b6fa5ff3eee40a55a78df7
sha256sums = SKIP
+ sha256sums = SKIP
pkgname = pseuco-ide
diff --git a/PKGBUILD b/PKGBUILD
index 23a43ebc79b..293f16abb43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,14 +12,18 @@ provides=("${pkgname%}")
conflicts=("${pkgname%}")
source=("https://dgit.cs.uni-saarland.de/pseuco/pseuco-ide/-/jobs/artifacts/master/download?job=jar"
"pseuco-ide.desktop"
+ "pseuco-ide"
".install")
sha256sums=('SKIP'
'87186ce1e69f6737c02929ec3fa5898d795a567200b6fa5ff3eee40a55a78df7'
+ 'SKIP'
'SKIP')
package() {
cd "${srcdir}"
mkdir -p "${pkgdir}/usr/share/applications/"
+ mkdir -p "${pkgdir}/usr/bin"
install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm0755 "${pkgname}-2.0.0-alpha.jar" "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
+ install -m755 "${pkgname}" "${pkgdir}"/usr/bin/${pkgname}
}
diff --git a/pseuco-ide b/pseuco-ide
new file mode 100644
index 00000000000..5c316a98ef1
--- /dev/null
+++ b/pseuco-ide
@@ -0,0 +1,2 @@
+#! /bin/sh
+exec /usr/bin/java -jar '/usr/share/java/pseuco-ide/pseuco-ide.jar' "$@"