Date: Wednesday, April 11, 2018 @ 19:37:47
  Author: heftig
Revision: 321587

4.7.3.a-1

Modified:
  eclipse/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-11 19:37:27 UTC (rev 321586)
+++ PKGBUILD    2018-04-11 19:37:47 UTC (rev 321587)
@@ -8,9 +8,9 @@
 
 pkgbase=eclipse
 pkgname=(eclipse-{common,java,jee,cpp,php,javascript})
-pkgver=4.7.3
+pkgver=4.7.3.a
 pkgrel=1
-_release=oxygen-3
+_release=oxygen-3a
 pkgdesc="Highly extensible IDE"
 license=(EPL)
 arch=(x86_64)
@@ -28,17 +28,18 @@
 done
 
 sha256sums=('da1eaf6239cb0c2b5009cd8c261e96e7b17a7536b12fe60fcb1e903f5e67dbdc'
-            '5fb8170a0c384914fcb8fcead3f89ad488cb0d0f360a04d247952fa34819ba4a'
-            '319fe8ab21fc6df7dab85e4e5bdfaeb51b08d254ca5e5c79c2710a0f81cefa2d'
-            '04663a7815c283240ceda544b58eca697f5c5b47ca518a9b148f062022fd2af9'
-            '6a7519201185669e614d1cbd11ace0c52b5ab0669d26def5653aba42f9fde670'
-            'fd0f3fe288c5385f35ab3fb860666bcf5d8ab4e03d749333b88bda1e442073e9')
+            '35325e7bd5e2b9149c844bc9fbbc9fb04a69e3c46515997a003c15509d3cfe54'
+            'ca2146c31587c41200408ba509f617df3c1a9831c9886c7abcfebbaf94a59408'
+            '82e790efa5c02a7447506c85a138a2cef4fae815201c157480d630da1a55d5d9'
+            'e991ed63ffed013729977175318ecd7945d0a16e3026cce0256e45e8c89b9632'
+            'afc9a897736c6e4ad8199a7e7733363cf91569e8dde8e21e24c859577fc35c32')
 
 prepare() {
-  for _pkg in ${pkgname[@]}; do
-    mkdir $_pkg
-    [[ $_pkg == eclipse-common ]] && continue
-    bsdtar -xf "$_pkg-$_release-linux-gtk-x86_64.tar.gz" -C $_pkg 
--strip-components 1
+  local pkg
+  for pkg in ${pkgname[@]}; do
+    mkdir $pkg
+    [[ $pkg == eclipse-common ]] && continue
+    bsdtar -xf "$pkg-$_release-linux-gtk-x86_64.tar.gz" -C $pkg 
--strip-components 1
   done
 }
 
@@ -73,20 +74,21 @@
 StartupNotify=true
 END
 
-  for _i in 16 32 48 256; do
-    install -Dm644 
eclipse-common/plugins/org.eclipse.platform_*/eclipse${_i}.png \
-      "$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/eclipse.png"
+  local i
+  for i in 16 32 48 256; do
+    install -Dm644 eclipse-common/plugins/org.eclipse.platform_*/eclipse$i.png 
\
+      "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/eclipse.png"
   done
 }
 
 _package() {
-  _variant=${1#eclipse-}
-  pkgdesc+=" (${_variant^^} variant)"
+  local variant=${1#eclipse-}
+  pkgdesc+=" (${variant^^} variant)"
   depends=(eclipse-common)
   provides=("eclipse=$pkgver-$pkgrel")
   conflicts=(eclipse)
 
-  case $_variant in
+  case $variant in
     java) replaces=(eclipse) ;;
     cpp)  replaces=(eclipse-cdt) ;;
   esac

Reply via email to