[arch-commits] Commit in frostwire/trunk (PKGBUILD java-version-detection.patch)
Evangelos Foutras
foutrelis at archlinux.org
Sat Sep 20 15:27:43 UTC 2014
Date: Saturday, September 20, 2014 @ 17:27:43
Author: foutrelis
Revision: 119325
upgpkg: frostwire 5.7.6-2
Fix detection of OpenJDK 8.
Modified:
frostwire/trunk/PKGBUILD
frostwire/trunk/java-version-detection.patch
------------------------------+
PKGBUILD | 4 ++--
java-version-detection.patch | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-20 14:54:14 UTC (rev 119324)
+++ PKGBUILD 2014-09-20 15:27:43 UTC (rev 119325)
@@ -3,7 +3,7 @@
pkgname=frostwire
pkgver=5.7.6
-pkgrel=1
+pkgrel=2
pkgdesc="BitTorrent client with integrated search"
arch=('any')
url="http://www.frostwire.com"
@@ -18,7 +18,7 @@
sha256sums=('b3356c2dd4ae06e6c205e58c650f3aea617c4d126ecfbd174038951456ec10b8'
'9a05e5f1005856cd67f6e01fc499d1b64bc372bf3a390e412359196f65cc0ea6'
'00e425501b33b7213a337314a5035d52459f743f623f9f37abbc60d6e56a2186'
- '50828981c20273c86ef7c05f801d0fcec28253a544f95e231db35402c738a62e')
+ '0746842535ae17dc63ce5a8cf9e29c319b7a837d9b3aa0076de0e85c11fbe539')
package() {
cd "$srcdir/$pkgname-$pkgver.noarch"
Modified: java-version-detection.patch
===================================================================
--- java-version-detection.patch 2014-09-20 14:54:14 UTC (rev 119324)
+++ java-version-detection.patch 2014-09-20 15:27:43 UTC (rev 119325)
@@ -5,7 +5,7 @@
fi
- JAVA_HEADER=`${JAVA_PROGRAM_DIR}java -version 2>&1 | head -n 1`
-+ JAVA_HEADER=`${JAVA_PROGRAM_DIR}java -version 2>&1 | grep version`
++ JAVA_HEADER=`${JAVA_PROGRAM_DIR}java -version 2>&1 | grep version | sed 's/openjdk/java/'`
JAVA_IMPL=`echo ${JAVA_HEADER} | cut -f1 -d' '`
if [ "$JAVA_IMPL" = "java" ] ; then
VERSION=`echo ${JAVA_HEADER} | sed "s/java version \"\(.*\)\"/\1/"`
More information about the arch-commits
mailing list