updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gwclient32 / PKGBUILD
blob7f41eb3328581175de19210fe6470ca166e45806
1 pkgname=gwclient32
2 pkgver=8.0.2
3 pkgrel=1
4 pkgdesc="Novell Groupwise 8 Client for Linux (i686 Arch)"
5 url="http://gwclient.provo.novell.com/"
6 arch=('i686')
7 depends=('glibc' 'libstdc++5' 'gcc' 'unzip' 'jre')
8 srcname="GW802LinuxClient.zip"
9 source=(http://gwclient.provo.novell.com/client/$srcname)
10 license="Novell-GW-8"
12 build()
14     cd $startdir/src
15     unzip -o $srcname "*client*"
16     cd $startdir/pkg
17     rpmextract.sh $startdir/src/novell-groupwise-client-8.0.2-90840.i586.rpm
18     chmod +rx opt usr usr/share
19     rm -rf opt/novell/groupwise/client/jre
20     sed -i 's%opt/novell/groupwise/client/jre%${JAVA_HOME}/jre%' "$startdir"/pkg/opt/novell/groupwise/client/bin/groupwise
21     sed -i '/LD_LIBRARY_PATH/s/:.*/:\/opt\/java\/jre\/lib\/i386:\/opt\/java\/jre\/lib\/i386\/client/' $startdir/pkg/opt/novell/groupwise/client/bin/groupwise
23 md5sums=('520165448d2cb741fab1aadf9c52e5e0')