1 # Maintainer: PyroPeter <abi1789 @ googlemail . com>
2 # Contributor: DarkHeart <fumbles@ymail.com>
6 pkgdesc="An integrated Java environment specifically designed for introductory teaching"
8 url="http://www.bluej.org"
10 depends=('sh' 'java-runtime' 'java-environment')
11 makedepends=('libarchive')
12 source=(http://www.bluej.org/download/files/bluej-${pkgver//.}.jar
15 md5sums=('9cad270d954bab602997704320881ec5' '94b9bc934a337ed44e2239dd362520f6' '6cfbab36d21971e09bd0dc8a470c52e5')
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"