blob: 27626b2fc121a72079300b78b4242bee1cab7df3 (
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
37
38
39
40
41
42
43
|
# Maintainer: Arthur Zamarin <arthurzam@gmail.com>
# Contributer: Shanto <shanto@hotmail.com>
# Contributor: Jesus Jerez <jerezmoreno@gmail.com>
pkgname=eclipse-emf-runtime
pkgver=2.12.0
_pkgbuild=R201605260356
pkgrel=1
pkgdesc="EMF and XSD runtime only for the Eclipse platform"
url="http://www.eclipse.org/modeling/emf/"
arch=('any')
license=('EPL')
depends=('eclipse')
makedepends=('unzip')
conflicts=('eclipse-emf')
provides=('eclipse-emf')
_mirror="http://www.eclipse.org/downloads/download.php?r=1&file="
source=("$_mirror/modeling/emf/emf/downloads/drops/${pkgver}/${_pkgbuild}/emf-runtime-${pkgver}.zip"
"$_mirror/modeling/emf/emf/downloads/drops/${pkgver}/${_pkgbuild}/xsd-runtime-${pkgver}.zip")
md5sums=('fccaa15ebfc51357ae1d2fffe3574efc'
'fce2cc0cd2281d5765e29bf236b5e0be')
package() {
_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
}
|