diff options
author | Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> | 2020-03-18 07:43:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-18 07:43:00 +0700 |
commit | 003385bd0ecbd58762f93456f6966ada04be6937 (patch) | |
tree | abd7d3ce4fc9ec286bf320165287417fc9008c5d | |
parent | 76d73cec920e91426237a2a7cd3ed38c58798fb2 (diff) |
development/eclipse-php: Updated for version 4.14.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/eclipse-php/eclipse-php.SlackBuild | 13 | ||||
-rw-r--r-- | development/eclipse-php/eclipse-php.info | 12 |
2 files changed, 11 insertions, 14 deletions
diff --git a/development/eclipse-php/eclipse-php.SlackBuild b/development/eclipse-php/eclipse-php.SlackBuild index dd4ee82561863..bfde2c534ab92 100644 --- a/development/eclipse-php/eclipse-php.SlackBuild +++ b/development/eclipse-php/eclipse-php.SlackBuild @@ -21,14 +21,15 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Update by: Igor Alexandrov <igora.vault@gmail.com> # Update by: Andre Barboza <bmg.andre@gmail.com> # Update by: Andrew Clemons <andrew.clemons@gmail.com> # Modified from classical eclipse slackbuild # This script is just a binary repackaging. PRGNAM=eclipse-php -VERSION=${VERSION:-201809} -SRCVERSION=${SRCVERSION:-2018-09} +VERSION=${VERSION:-4.14} +SRCVERSION=${SRCVERSION:-2019-12-R} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,11 +52,9 @@ mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT cd $PKG/opt/$PRGNAM # Untar source code tarball according with ARCH value -# ARCH can be 'i586' or 'x86_64' +# ARCH can only be 'x86_64' if [ "$ARCH" = "x86_64" ]; then tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz -elif case "$ARCH" in i?86) true ;; *) false ;; esac ; then - tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk.tar.gz else printf "$ARCH is not supported...\n" exit 1 @@ -82,9 +81,7 @@ chmod 0755 $PKG/usr/bin/$PRGNAM # Add eclipse to KDE/GNOME/XFCE menu and install an icon for them install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop -ECLIPSE_ICON=$(find . -name "*eclipse48.png" | grep "org.eclipse.platform") -install -D -m 0644 "$PKG/opt/$PRGNAM/${ECLIPSE_ICON}" \ - $PKG/usr/share/pixmaps/$PRGNAM.png +install -D -m 0644 -t "$PKG/usr/share/pixmaps/" "$CWD/$PRGNAM.png" find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/development/eclipse-php/eclipse-php.info b/development/eclipse-php/eclipse-php.info index f5ca71ce5fa4a..9d09f14e10dc9 100644 --- a/development/eclipse-php/eclipse-php.info +++ b/development/eclipse-php/eclipse-php.info @@ -1,10 +1,10 @@ PRGNAM="eclipse-php" -VERSION="201809" +VERSION="4.14" HOMEPAGE="http://www.eclipse.org" -DOWNLOAD="http://download.eclipse.org/technology/epp/downloads/release/2018-09/R/eclipse-php-2018-09-linux-gtk.tar.gz" -MD5SUM="9da2679e2d4bcc147b436bbb097a1e65" -DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2018-09/R/eclipse-php-2018-09-linux-gtk-x86_64.tar.gz" -MD5SUM_x86_64="2e4bba8c58e564ef6efa50ccaba6ed36" -REQUIRES="jdk webkitgtk" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="http://download.eclipse.org/technology/epp/downloads/release/2019-12/R/eclipse-php-2019-12-R-linux-gtk-x86_64.tar.gz" +MD5SUM_x86_64="273dad6dfff659928be652367772b2cd" +REQUIRES="jdk webkit2gtk" MAINTAINER="Giuseppe Di Terlizzi" EMAIL="giuseppe.diterlizzi@gmail.com" |