1 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgdesc="An elegant POS application."
8 url="http://www.openbravo.com"
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname\_$pkgver\_bin.zip)
12 md5sums=('93f96a8261fa1150ef2615026dffb809')
16 mkdir -p $pkgdir/usr/{bin,share/{applications,openbravopos,licenses/openbravopos}}
17 rm *.bat $pkgname\_$pkgver\_bin.zip
18 cp -Rf * $pkgdir/usr/share/$pkgname
19 echo -e "#!/bin/bash\n\ncd /usr/share/$pkgname/\n./start.sh" >$pkgdir/usr/bin/$pkgname
20 chmod 755 $pkgdir/usr/bin/$pkgname
21 cp $startdir/src/licensing/Openbravo\ POS\ notice.txt $pkgdir/usr/share/licenses/$pkgname/
22 install -D -m644 $startdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop