summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormschubert2017-07-04 00:07:34 +0100
committermschubert2017-07-04 00:07:34 +0100
commitec00b549b6ff6717acfda4dd3a0e9ae11e76c312 (patch)
tree7553c2595384fef792d0f17cb2e124c0d317d015 /PKGBUILD
parentfed5bbd7ad1c25b88da7638189418785503621d1 (diff)
downloadaur-ec00b549b6ff6717acfda4dd3a0e9ae11e76c312.tar.gz
use versioned jar
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index adac7bab3b8..7d237afd190 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
# Contributor: Giulio Guzzinati <guzzinati.giulio at gmail>
pkgname=imagej
-pkgver=1.50j # https://wsr.imagej.net/src/
+pkgver=1.50i # 1.51o in https://wsr.imagej.net/src/, but no binary
_pkgver=150
-pkgrel=2
+_jar=ij150i.jar
+pkgrel=3
epoch=2
pkgdesc="Image manipulation software for scientists"
arch=('any')
@@ -13,13 +14,13 @@ depends=('java-runtime')
makedepends=('unzip')
optdepends=('java-environment-common')
source=("http://wsr.imagej.net/distros/cross-platform/ij$_pkgver.zip"
- "https://wsr.imagej.net/jars/ij.jar"
+ "https://wsr.imagej.net/jars/$_jar"
"imagej.sh"
"imagej.desktop"
"microscope.xpm")
noextract=("ij$_pkgver.zip")
md5sums=('a2e52e97b1c683cb4f614b4d570fb972'
- '9928621314c658e501a7950c6fe8abb2'
+ '8e6b51c27d4ba7c679532ca4b1b30082'
'7dc3fd02120f699204b3d85a7e383082'
'9d60878b6adad0e1895ce875bf299147'
'e7a7cef1b44ad3a8752ba63885fd88fb')
@@ -31,7 +32,7 @@ package() {
mkdir -p "$pkgdir"/usr/share
mv ImageJ "$pkgdir"/usr/share/imagej
- install -m644 "$srcdir"/ij.jar "$pkgdir"/usr/share/imagej/ij.jar
+ install -m644 "$srcdir"/$_jar "$pkgdir"/usr/share/imagej/ij.jar
find "$pkgdir" -type d -exec chmod 755 {} \; -o -exec chmod 644 {} \;