summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSquare2019-05-17 02:44:45 +0200
committerSquare2019-05-17 02:44:45 +0200
commita15502179bd79cd08d86a5681bc37f821ca36473 (patch)
tree73a80fc202c7fd6894fddb080ffb5e5514c908cb
parent7d490cab971f4fb1c04d3f2cfc1bf5327d90dfae (diff)
downloadaur-a15502179bd79cd08d86a5681bc37f821ca36473.tar.gz
adopted and fixed
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD21
2 files changed, 13 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 534beb287c1..706a5bc259f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = jameica-nightly
pkgdesc = Jameica Plattform
pkgver = 2.9.0
- pkgrel = 2
+ pkgrel = 3
url = http://www.willuhn.de/products/jameica/
arch = any
license = GPL
@@ -13,8 +13,7 @@ pkgbase = jameica-nightly
conflicts = jameica
source = http://www.willuhn.de/products/jameica/releases/nightly/jameica-linux64-2.9.0-nightly.zip
source = jameica.desktop
- sha256sums = f8b10dd02a47372ce6cab2461225688216b12a2e73302ac7f2cdfe4e9a27f0fa
+ sha256sums = SKIP
sha256sums = b0221e7463407243d2922107d0de4c437e2037ab0639e2961c443db4f15725fc
pkgname = jameica-nightly
-
diff --git a/PKGBUILD b/PKGBUILD
index b187b5908d2..6e868ce5d34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
# Contributor: johnnybash <georgpfahler@wachenzell.org>
# Contributor: r20d20 <r20d20@web.de>
-# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer: Square252 <square@0xfc.de>
pkgname=jameica-nightly
pkgver=2.9.0
-pkgrel=2
+pkgrel=3
pkgdesc="Jameica Plattform"
arch=('any')
url="http://www.willuhn.de/products/jameica/"
@@ -13,7 +14,7 @@ depends=('java-runtime>=1.6' 'bash' 'swt')
makedepends=('zip' 'unzip')
conflicts=('jameica')
source=("http://www.willuhn.de/products/jameica/releases/nightly/jameica-linux64-$pkgver-nightly.zip" "jameica.desktop")
-sha256sums=('f8b10dd02a47372ce6cab2461225688216b12a2e73302ac7f2cdfe4e9a27f0fa'
+sha256sums=('SKIP'
'b0221e7463407243d2922107d0de4c437e2037ab0639e2961c443db4f15725fc')
package() {
@@ -21,7 +22,7 @@ package() {
cp -R "$srcdir"/jameica "$pkgdir"/usr/share/java
# remove local swt lib
rm -rf "$pkgdir"/usr/share/java/jameica/lib/swt/linux64
-
+
if [ "$CARCH" = "armv6h" ] || [ "$CARCH" = "armv7h" ] || [ "$CARCH" = "aarch64" ]; then
# adjust classpath in order to use system swt
@@ -29,19 +30,19 @@ package() {
-d "$pkgdir"/usr/share/java/jameica/unzipped
sed -i 's|lib/swt/linux64/swt.jar|/usr/share/java/swt.jar|g' \
"$pkgdir"/usr/share/java/jameica/unzipped/META-INF/MANIFEST.MF
-
+
pushd "$pkgdir"/usr/share/java/jameica/unzipped
zip -r ../jameica-linux64.jar *
popd
-
+
# remove dead bodies
rm -rf "$pkgdir"/usr/share/java/jameica/unzipped
-
- # link jameica-linux64.jar to jameica-linux.jar
+
+ # link jameica-linux64.jar to jameica-linux.jar
ln -s /usr/share/java/jameica/jameica-linux64.jar \
"$pkgdir"/usr/share/java/jameica/jameica-linux.jar
-
+
fi
-
+
install -m 644 "$srcdir"/jameica.desktop "$pkgdir"/usr/share/applications
}