blob: 78d44f864fe5fbe4486b927a588d2f9c4ccf1fa4 (
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
|
# Maintainer: Raimar Buehmann <raimar _at_ buehmann _dot_ de>
pkgname=eclipse-sql-explorer
pkgver=3.6.2
pkgrel=2
pkgdesc="SQL Explorer plugin for Eclipse IDE"
arch=('any')
url="https://sourceforge.net/projects/eclipsesql/"
license=('LGPL2.0')
depends=('eclipse>=4.5.0')
options=('!strip')
source=("download.zip::https://downloads.sourceforge.net/project/eclipsesql/SQL%20Explorer%20Plugin/$pkgver/sqlexplorer_plugin-$pkgver.zip")
sha256sums=('05c4a361fab1ddf4105bd29096acba19aafd818de19767e20c61df08e243849b')
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
}
|