summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Seemayer2017-05-13 12:32:15 +0200
committerStefan Seemayer2017-05-13 12:32:15 +0200
commit5f1bb7b32a934fa84a8a619d866ed7528f8ed739 (patch)
tree44cf1f7f1963aea49dc42a427c74c4653512254a
parentf33405f3d68324a0c50cafb83655f37167e5f286 (diff)
downloadaur-5f1bb7b32a934fa84a8a619d866ed7528f8ed739.tar.gz
Update to 2.10.1 (thanks @sebstar!)
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 459ec2618fe..025d436810b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,20 @@
# Maintainer: Stefan Seemayer <mail@semicolonsoftware.de>
pkgname=jalview
-pkgver=2.9.0b2
+pkgver=2.10.1
pkgrel=1
pkgdesc="Bioinformatics Multiple Alignment Editor"
arch=(any)
url="http://www.jalview.org/"
license=('GPL3')
depends=(java-runtime)
-makedepends=(perl wget)
+makedepends=(wget xmlstarlet)
source=( "http://www.jalview.org/webstart/jalview.jnlp"
"logo.gif"
"jalview"
"jalview.desktop")
-md5sums=('3047b069458cfddd0f598b3bf65ba15d'
+md5sums=('0ce946664997d3cfceab7cf7a639f8ba'
'e124f66d646560813b1a06b0cff02d3a'
'0ea5c6990bfa050c9c69f24926da3d57'
'b3a842500e7ff3cd1324dede69822d21')
@@ -24,8 +24,8 @@ build() {
mkdir -p "$srcdir/$pkgname-$pkgver" || exit 1
cd "$srcdir/$pkgname-$pkgver" || exit 1
- # parse list of jar files from JNLP file
- jars=$(perl '-ne /<jar href="([^"]*)"\/>/ && print "$1\n"' "$srcdir/jalview.jnlp")
+ # parse list of jar files from JNLP file, excluding MacOS jars
+ jars=$(xmlstarlet sel -t -m '/jnlp/resources[not(@os)]/jar' -v '@href' -n "$srcdir/jalview.jnlp")
for jar in $jars; do
wget "http://www.jalview.org/webstart/$jar" -O "$jar" || exit 1