blob: b6d0b5db1a81d6fadb9c6396106e1704c7c36fc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Raimar Buehmann <raimar _at_ buehmann _dot_ de>
pkgname=eclipse-swtbot
pkgver=4.3.0
pkgrel=1
pkgdesc='SWT UI Testing for Eclipse IDE'
arch=('any')
url='https://projects.eclipse.org/projects/technology.swtbot'
license=('EPL')
depends=('eclipse')
options=('!strip')
# http://download.eclipse.org/technology/swtbot/releases/2.8.0/repository.zip
source=(
http://download.eclipse.org/technology/swtbot/releases/${pkgver}/repository.zip
)
sha256sums=('200be5f64fc374034398647c454ffa59bd4473f6cf74274a53bdc06430423558')
package() {
_dest=${pkgdir}/usr/lib/eclipse/dropins/${pkgname/eclipse-}/eclipse
cd ${srcdir}
# 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
}
|