diff options
author | Arthur Zamarin | 2015-07-15 17:13:42 +0300 |
---|---|---|
committer | Arthur Zamarin | 2015-07-15 17:13:42 +0300 |
commit | 9479e47041da96227e7756e2bc676f4d484f5456 (patch) | |
tree | 8137f0bf66b63b2460a43a7c50596005057da8ff /PKGBUILD | |
parent | 09e0298cbb3e2fe26cee54a4c28f845732230d38 (diff) | |
download | aur-9479e47041da96227e7756e2bc676f4d484f5456.tar.gz |
3.2.0-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -4,7 +4,7 @@ pkgname=eclipse-linuxtools pkgver=3.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Eclipse Linux Tools Project" url="http://www.eclipse.org/linuxtools" arch=('any') @@ -22,19 +22,8 @@ source=("http://www.eclipse.org/downloads/download.php?r=1&file=/linuxtools/linu sha256sums=('332c1bba17e987066d831a76f035ccf68c5056a694c183c70fc62f8d5814407d') package() { - _dest="${pkgdir}/usr/share/eclipse/dropins/linuxtools/eclipse" - - cd "${srcdir}" - - # Features - for _f in features/*; do - _dir="${_dest}/${_f/.jar}" - mkdir -p "${_dir}" - bsdtar -xf "${_f}" -C "${_dir}" - done - - # Plugins - for _p in plugins/*; do - install -Dm644 "${_p}" "${_dest}/${_p}" - done + d="$pkgdir/usr/share/eclipse/dropins/linuxtools/eclipse" + install -d "$d" + cp -a features "$d" + cp -a plugins "$d" } |