updated on Wed Jan 11 20:01:35 UTC 2012
[aur-mirror.git] / soapui / PKGBUILD
blobefc21e7f44a9930041b94ff2c9ea5fdd8dfc5c60
1 # Contributor: Damien Guihal <dguihal@gmail.com>
2 pkgname=soapui
3 pkgver=4.0.1
4 pkgrel=1
5 pkgdesc="A graphical Java program for inspecting, invoking, monitoring, simulating/mocking and functional/load/compliance/surveillance testing of REST/WADL and SOAP/WSDL-based Web Services over HTTP."
6 arch=('i686' 'x86_64')
7 url="http://www.soapui.org/"
8 license=('LGPLv2')
9 groups=()
10 depends=('java-runtime')
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 source=(http://downloads.sourceforge.net/soapui/$pkgname-$pkgver-linux-bin.zip)
18 noextract=()
19 sha256sums=('c09694b772d03bba99d36f206f660328f5280cac98a1127ca41350439bb5b5a9') #generate with 'makepkg -g'
20 md5sums=('a8ec61d20b5f597219c541dd807909f2') #generate with 'makepkg -g'
22 build() {
23   cd $startdir/src/$pkgname-$pkgver
24   #Suppression des fichiers bat de chez Redmond
25   #find . -name *.bat -exec rm -f {} \;
26   #Correction du bug jxplorer
27   sed -i -e '/soapui.jxbrowser.disable=true/s/#//' bin/soapui.sh
28   sed -i -e 's/^java/${JAVA_HOME}\/bin\/java/' bin/soapui.sh
29   mkdir -p ${pkgdir}/usr/share/soapui
30   mkdir -p ${pkgdir}/usr/bin
31   cp -R * ${pkgdir}/usr/share/soapui
32   cd ${pkgdir}/usr/share/soapui
33   ln -sf bin/starter-page.html .
34   cat >${pkgdir}/usr/bin/soapui << EOC
35 SOAPUI_HOME=/usr/share/soapui
36 export SOAPUI_HOME
37 \${SOAPUI_HOME}/bin/soapui.sh
38 EOC
39   chmod 0755 ${pkgdir}/usr/bin/soapui
42 # vim:set ts=2 sw=2 et: