updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / bluej / PKGBUILD
blobdc4f8600a929bc0f4607382e3308b558484b48b0
1 # Maintainer: PyroPeter <abi1789 @ googlemail . com>
2 # Contributor: DarkHeart <fumbles@ymail.com>
3 pkgname=bluej
4 pkgver=3.0.6
5 pkgrel=1
6 pkgdesc="An integrated Java environment specifically designed for introductory teaching"
7 arch=('any')
8 url="http://www.bluej.org"
9 license=('GPL2' 'BSD')
10 depends=('sh' 'java-runtime' 'java-environment')
11 makedepends=('libarchive')
12 source=(http://www.bluej.org/download/files/bluej-${pkgver//.}.jar
13         bluej
14         bluej.desktop)
15 md5sums=('9cad270d954bab602997704320881ec5' '94b9bc934a337ed44e2239dd362520f6' '6cfbab36d21971e09bd0dc8a470c52e5')
17 package() {
18   cd "$srcdir"
19   bsdtar -x -f "bluej-dist.jar"
20   mkdir -p "$pkgdir"/usr/share/{java,bluej}
21   cp -r lib "$pkgdir/usr/share/java/bluej"
22   cp -r examples "$pkgdir/usr/share/bluej/"
23   install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/bluej/license.txt"
24   install -Dm644 THIRDPARTYLICENSE.txt "$pkgdir/usr/share/licenses/bluej/thirdpartylicense.txt"
25   install -Dm644 bluej.desktop "$pkgdir/usr/share/applications/bluej.desktop"
26   install -Dm755 bluej "$pkgdir/usr/bin/bluej"