updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / olpw / PKGBUILD
blob12bbb7a2eccde0c4abc96ad83cde2071292bbc24
1 # Contributor: jose <jose1711 [at] gmail (dot) com>
3 pkgname=olpw
4 pkgver=1
5 pkgrel=2
6 pkgdesc="Online Planning Worksheets - tool to help with HACMP cluster planning"
7 arch=('i686')
8 url="http://www-03.ibm.com/systems/power/software/availability/aix/apps/applications.html"
9 license="custom:EULA"
10 depends=('java-runtime' 'bash')
11 install=(olpw.install)
12 source=("http://www-03.ibm.com/systems/resources/systems_power_software_availability_aix_olpw.zip")
13 md5sums=('4d8534e42620f4a9a87d00f303c5bca4')
15 build() {
16 true
19 package() {
20 mkdir -p $pkgdir/usr/bin
21 (echo "#!/bin/bash
22 java -jar /usr/share/java/olpw/worksheets.jar \"\$@\"") > $pkgdir/usr/bin/olpw
23 chmod 755 $pkgdir/usr/bin/olpw
24 install -D -m644 $srcdir/worksheets.jar $pkgdir/usr/share/java/olpw/worksheets.jar
25 install -D -m644 $srcdir/lic.txt $pkgdir/usr/share/java/olpw/lic.txt