blob: 523973bb0c247451d372945e667c7bf163f74c28 (
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
|
# Contributor: Hy Goldsher <hyness-at-freshlegacycode-dot-org>
# Maintainer: Hy Goldsher <hyness-at-freshlegacycode-dot-org>
pkgname=squirrel-sql
pkgver=4.8.0
pkgrel=1
pkgdesc="A Java SQL client for any JDBC compliant database"
arch=('i686' 'x86_64')
url="http://www.squirrelsql.org/"
license=('GPL')
makedepends=('unzip')
depends=('java-runtime')
arch=('i686' 'x86_64')
source=(http://downloads.sourceforge.net/squirrel-sql/squirrelsql-$pkgver-optional.zip $pkgname $pkgname.desktop)
install=$pkgname.install
md5sums=('a8365377d92fabe264e7487312db2c0d'
'13fcedb38028ddafae5d5d4526dad5a3'
'14f0b383472e67040112c446cd2dc3d4')
package() {
_src=$srcdir/squirrelsql-$pkgver-optional
# Create directories
install -d $pkgdir/usr/share/java/$pkgname/{icons,lib}
# Create startup script
install -Dm755 $srcdir/squirrel-sql $pkgdir/usr/bin/squirrel-sql
# Install files
install -Dm755 $srcdir/squirrel-sql $pkgdir/usr/bin/squirrel-sql
install -m644 $_src/squirrel-sql.jar $pkgdir/usr/share/java/$pkgname/
install -m755 $_src/$pkgname.sh $pkgdir/usr/share/java/$pkgname/
install $_src/icons/*.* $pkgdir/usr/share/java/$pkgname/icons/
install $_src/lib/*.* $pkgdir/usr/share/java/$pkgname/lib/
cp -a $_src/plugins $pkgdir/usr/share/java/$pkgname/
# Create desktop and icon
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 $_src/icons/acorn.xpm $pkgdir/usr/share/icons/hicolor/32x32/apps/$pkgname.xpm
}
|