blob: f088fc47cc0ceaad1ee9130d34155dba8c62dc42 (
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.7.1
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=('0aae118ca4a1796af5e553df7390dd0a'
'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
}
|