[arch-commits] Commit in visualvm/repos/extra-x86_64 (6 files)

Guillaume Alaux guillaume at archlinux.org
Mon Oct 24 19:19:17 UTC 2016


    Date: Monday, October 24, 2016 @ 19:19:16
  Author: guillaume
Revision: 279218

archrelease: copy trunk to extra-x86_64

Added:
  visualvm/repos/extra-x86_64/PKGBUILD
    (from rev 279217, visualvm/trunk/PKGBUILD)
  visualvm/repos/extra-x86_64/icon.png
    (from rev 279217, visualvm/trunk/icon.png)
  visualvm/repos/extra-x86_64/visualvm.desktop
    (from rev 279217, visualvm/trunk/visualvm.desktop)
Deleted:
  visualvm/repos/extra-x86_64/PKGBUILD
  visualvm/repos/extra-x86_64/icon.png
  visualvm/repos/extra-x86_64/visualvm.desktop

------------------+
 PKGBUILD         |  104 ++++++++++++++++++++++++++---------------------------
 visualvm.desktop |   16 ++++----
 2 files changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-24 19:18:24 UTC (rev 279217)
+++ PKGBUILD	2016-10-24 19:19:16 UTC (rev 279218)
@@ -1,52 +0,0 @@
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-# Contributor: Kristof JOZSA <kristof.jozsa at gmail.com>
-pkgname=visualvm
-pkgver=1.3.8
-_shortver=${pkgver//\./}
-pkgrel=1
-pkgdesc='Visual tool integrating several commandline JDK tools and lightweight profiling capabilities'
-arch=('i686' 'x86_64')
-url='http://visualvm.java.net/'
-license=('custom:GPL')
-depends=('java-environment')
-source=("https://java.net/projects/${pkgname}/downloads/download/release${_shortver}/${pkgname}_${_shortver}.zip"
-        'visualvm.desktop'
-        'icon.png')
-sha256sums=('05fa81e756552a42d1150d7c32ab2186f6f736244c95022b341deaefc077d899'
-            'e820807e8d78446cf156a3947d97856e24865bb0d8c957e9ce2fed309c737441'
-            '452fbd85c968ec7176c5894bc4106b7e25310314d44278d807510675b6a5c864')
-
-package() {
-  cd "${srcdir}/${pkgname}_${_shortver}"
-
-  mkdir -p "${pkgdir}/usr/share/${pkgname}"
-  cp -R bin platform profiler visualvm "${pkgdir}/usr/share/${pkgname}"
-
-  install -d "${pkgdir}/etc/${pkgname}"
-  cp -R etc/* "${pkgdir}/etc/${pkgname}"
-  ln -s /etc/${pkgname} "${pkgdir}/usr/share/${pkgname}/etc"
-    # 'visualvm' shell script cannot even set his own variable 'visualvm_jdkhome'
-  sed -i \
-    -e 's|#visualvm_jdkhome="/path/to/jdk"|visualvm_jdkhome="${JAVA_HOME}"|' \
-    -e 's|visualvm_default_options="|visualvm_default_options="-J-Dawt.useSystemAAFontSettings=on |' \
-      "${pkgdir}/etc/${pkgname}/visualvm.conf"
-
-  rm -rf "${pkgdir}"/usr/share/${pkgname}/profiler/lib/deployed/jdk*/{hpux*,mac,solaris*,windows*,linux-arm*}
-  if [ ${CARCH} == 'i686' ]; then
-    rm -rf "${pkgdir}"/usr/share/${pkgname}/profiler/lib/deployed/jdk*/linux-amd64 \
-           "${pkgdir}"/usr/share/${pkgname}/platform/modules/lib/{x86,amd64}
-  else
-    rm -rf "${pkgdir}"/usr/share/${pkgname}/profiler/lib/deployed/jdk*/linux \
-           "${pkgdir}"/usr/share/${pkgname}/platform/modules/lib/{x86,i386}
-  fi
-
-  find "${pkgdir}"/usr/share/${pkgname} \( -name "*.exe" -o -name "*.dll" \) -delete
-
-  install -d "${pkgdir}/usr/bin"
-  ln -s /usr/share/${pkgname}/bin/visualvm "${pkgdir}/usr/bin/${pkgname}"
-
-  install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/${pkgname}/icon.png"
-  install -Dm644 "${srcdir}/visualvm.desktop" "${pkgdir}/usr/share/applications/visualvm.desktop"
-
-  install -D LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}

Copied: visualvm/repos/extra-x86_64/PKGBUILD (from rev 279217, visualvm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-24 19:19:16 UTC (rev 279218)
@@ -0,0 +1,52 @@
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+# Contributor: Kristof JOZSA <kristof.jozsa at gmail.com>
+pkgname=visualvm
+pkgver=1.3.9
+_shortver=${pkgver//\./}
+pkgrel=1
+pkgdesc='Visual tool integrating several commandline JDK tools and lightweight profiling capabilities'
+arch=('i686' 'x86_64')
+url='https://visualvm.github.io/'
+license=('custom:GPL')
+depends=('java-environment')
+source=("https://github.com/${pkgname}/${pkgname}.src/releases/download/${pkgver}/${pkgname}_${_shortver}.zip"
+        'visualvm.desktop'
+        'icon.png')
+sha256sums=('90dfabfcbebe9214c8474c9edd1c36d67426b162ec642cb3527540a191812b93'
+            'e820807e8d78446cf156a3947d97856e24865bb0d8c957e9ce2fed309c737441'
+            '452fbd85c968ec7176c5894bc4106b7e25310314d44278d807510675b6a5c864')
+
+package() {
+  cd "${srcdir}/${pkgname}_${_shortver}"
+
+  mkdir -p "${pkgdir}/usr/share/${pkgname}"
+  cp -R bin platform profiler visualvm "${pkgdir}/usr/share/${pkgname}"
+
+  install -d "${pkgdir}/etc/${pkgname}"
+  cp -R etc/* "${pkgdir}/etc/${pkgname}"
+  ln -s /etc/${pkgname} "${pkgdir}/usr/share/${pkgname}/etc"
+    # 'visualvm' shell script cannot even set his own variable 'visualvm_jdkhome'
+  sed -i \
+    -e 's|#visualvm_jdkhome="/path/to/jdk"|visualvm_jdkhome="${JAVA_HOME}"|' \
+    -e 's|visualvm_default_options="|visualvm_default_options="-J-Dawt.useSystemAAFontSettings=on |' \
+      "${pkgdir}/etc/${pkgname}/visualvm.conf"
+
+  rm -rf "${pkgdir}"/usr/share/${pkgname}/profiler/lib/deployed/jdk*/{hpux*,mac,solaris*,windows*,linux-arm*}
+  if [ ${CARCH} == 'i686' ]; then
+    rm -rf "${pkgdir}"/usr/share/${pkgname}/profiler/lib/deployed/jdk*/linux-amd64 \
+           "${pkgdir}"/usr/share/${pkgname}/platform/modules/lib/amd64
+  else
+    rm -rf "${pkgdir}"/usr/share/${pkgname}/profiler/lib/deployed/jdk*/linux \
+           "${pkgdir}"/usr/share/${pkgname}/platform/modules/lib/i386
+  fi
+
+  find "${pkgdir}"/usr/share/${pkgname} \( -name "*.exe" -o -name "*.dll" \) -delete
+
+  install -d "${pkgdir}/usr/bin"
+  ln -s /usr/share/${pkgname}/bin/visualvm "${pkgdir}/usr/bin/${pkgname}"
+
+  install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/${pkgname}/icon.png"
+  install -Dm644 "${srcdir}/visualvm.desktop" "${pkgdir}/usr/share/applications/visualvm.desktop"
+
+  install -D LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}

Deleted: icon.png
===================================================================
(Binary files differ)

Copied: visualvm/repos/extra-x86_64/icon.png (from rev 279217, visualvm/trunk/icon.png)
===================================================================
(Binary files differ)

Deleted: visualvm.desktop
===================================================================
--- visualvm.desktop	2016-10-24 19:18:24 UTC (rev 279217)
+++ visualvm.desktop	2016-10-24 19:19:16 UTC (rev 279218)
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=VisualVM
-GenericName=Java VM monitoring and troubleshooting tool
-Icon=/usr/share/visualvm/icon.png
-Exec=/usr/bin/visualvm
-Categories=Development;
-

Copied: visualvm/repos/extra-x86_64/visualvm.desktop (from rev 279217, visualvm/trunk/visualvm.desktop)
===================================================================
--- visualvm.desktop	                        (rev 0)
+++ visualvm.desktop	2016-10-24 19:19:16 UTC (rev 279218)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=VisualVM
+GenericName=Java VM monitoring and troubleshooting tool
+Icon=/usr/share/visualvm/icon.png
+Exec=/usr/bin/visualvm
+Categories=Development;
+



More information about the arch-commits mailing list