mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Corrado Primier <bardo@aur.archlinux.org>
|
|
# Contributor: Rubin Simons <rubin@xs4all.nl>
|
|
|
|
pkgname=eclipse-gef
|
|
pkgver=3.5.0
|
|
_reldate=200906221200
|
|
pkgrel=1
|
|
pkgdesc="GEF framework for the Eclipse platform"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.eclipse.org/gef/"
|
|
license=('EPL')
|
|
depends=('eclipse')
|
|
makdepends=('unzip')
|
|
source=(http://download.eclipse.org/tools/gef/downloads/drops/${pkgver}/R${_reldate}/GEF-ALL-${pkgver}.zip)
|
|
md5sums=('6e32382fe5c00743f7cb7255d4b13eca')
|
|
|
|
build() {
|
|
_dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
|
|
|
|
cd ${srcdir}/eclipse
|
|
|
|
# Features
|
|
find features -type f | while read _feature ; do
|
|
if [[ ${_feature} =~ (.*\.jar$) ]] ; then
|
|
install -dm755 ${_dest}/${_feature%*.jar}
|
|
cd ${_dest}/${_feature/.jar}
|
|
jar xf ${srcdir}/${_feature} || return 1
|
|
else
|
|
install -Dm644 ${_feature} ${_dest}/${_feature}
|
|
fi
|
|
done
|
|
|
|
# Plugins
|
|
find plugins -type f | while read _plugin ; do
|
|
install -Dm644 ${_plugin} ${_dest}/${_plugin}
|
|
done
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|