updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bluej-wsi / PKGBUILD
blobf5634f96a36b70ca4b59a6d06251d4f3f4c6b352
1 #Contributor: Eichi <mail@der-eichi.de>
2 # fork from Contributor: Zerathidune <zerathidune@gmail.com> bluej PKGBUILD
3 # bluej file from packagebluej by Zerathidune <zerathidune@gmail.com>
4 pkgname=bluej-wsi
5 pkgver=2.5.1.2009.5.19
6 _pkgver=251
7 _wsidata=20090519
8 pkgrel=3
9 pkgdesc="special bluej version from the Wilhelm-Schickard-Institut - university tuebingen"
10 arch=('i686' 'x86_64')
11 url="http://www-pu.informatik.uni-tuebingen.de/users/crestani/info2-ss-09/"
12 license=('custom')
13 groups=()
14 depends=('java-environment')
15 makedepends=()
16 provides=()
17 conflicts=()
18 replaces=()
19 backup=()
20 options=()
21 install=
22 source=(http://www-pu.informatik.uni-tuebingen.de/users/crestani/info2-ss-09/BlueJ-generic-${_pkgver}-WSI-${_wsidata}.jar bluej-wsi)
23 noextract=()
24 md5sums=('32453d39a875d25015359cf10d011fb3'
25          '27132f158825b30d3c4b8eda8b96829a')
26 build() {
27   cd $srcdir
28   bsdtar -x -f "bluej-dist.jar"
29   mkdir -p "$pkgdir/usr/share/java/"
30   cp -r lib "$pkgdir/usr/share/java/$pkgname"
31   mkdir -p "$pkgdir/usr/share/$pkgname"
32   cp -r examples "$pkgdir/usr/share/$pkgname"
33   install -m 755 -D -T bluej-wsi "$pkgdir/usr/bin/$pkgname"