[skip-ci] eclipse: fix build

This commit is contained in:
Francesco Marinucci 2019-01-26 20:40:14 +01:00
parent 5c88b9f3c4
commit bf972b12c2

View File

@ -1,7 +1,7 @@
pkgbase=eclipse pkgbase=eclipse
pkgname=(eclipse-{common,java,jee,cpp,php,javascript}) pkgname=(eclipse-{common,java,jee,cpp,php,javascript})
pkgver=4.10 pkgver=4.10
pkgrel=2 pkgrel=3
_release=2018-12 _release=2018-12
pkgdesc="Highly extensible IDE" pkgdesc="Highly extensible IDE"
license=(EPL) license=(EPL)
@ -15,7 +15,7 @@ noextract=()
for _pkg in ${pkgname[@]}; do for _pkg in ${pkgname[@]}; do
[[ $_pkg == 'eclipse-common' ]] && continue [[ $_pkg == 'eclipse-common' ]] && continue
source+=(http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/$_release/R/$_pkg-$_release-R-linux-gtk-x86_64.tar.gz) source+=(http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/$_release/R/$_pkg-$_release-R-linux-gtk-x86_64.tar.gz)
noextract+=($_pkg-$_release-linux-gtk-x86_64.tar.gz) noextract+=($_pkg-$_release-R-linux-gtk-x86_64.tar.gz)
eval "package_$_pkg() { _package $_pkg; }" eval "package_$_pkg() { _package $_pkg; }"
done done
@ -31,7 +31,7 @@ prepare() {
for pkg in ${pkgname[@]}; do for pkg in ${pkgname[@]}; do
mkdir $pkg mkdir $pkg
[[ $pkg == eclipse-common ]] && continue [[ $pkg == eclipse-common ]] && continue
bsdtar -xf "$pkg-$_release-linux-gtk-x86_64.tar.gz" -C $pkg --strip-components 1 bsdtar -xf "$pkg-$_release-R-linux-gtk-x86_64.tar.gz" -C $pkg --strip-components 1
done done
} }