1 # Contributor: Gilfran Ribeiro <contato at gilfran.net>
7 pkgdesc="A Java-based application for sending SMS messages through Brazilian mobile phone operators"
9 url="http://jsms.com.br/"
11 source=('http://jsms.com.br/download/jSMS-311.jar'
12 'http://www.gilfran.net/gil/archpkg/jSMS.png'
13 'http://www.gilfran.net/gil/archpkg/jsms.desktop')
14 noextract=(jSMS-311.jar)
15 md5sums=('08e899dd6b56f98cb4f0fb35526b3f3e'
16 'b4b76a7acde6395afb9562d9b8b9f303'
17 '19c8ff5b5678d95eecd2a3751989c62e')
21 install -d $startdir/pkg/usr/share/$pkgname
22 install -d $startdir/pkg/usr/bin
23 install -d $startdir/pkg/usr/share/applications
24 install -d $startdir/pkg/usr/share/pixmaps
26 install jSMS.png $startdir/pkg/usr/share/pixmaps
27 install jsms.desktop $startdir/pkg/usr/share/applications
28 install jSMS-311.jar $startdir/pkg/usr/share/$pkgname
30 cat > $startdir/src/$pkgname << EOF
32 export AWT_TOOLKIT=MToolkit
33 java -jar /usr/share/$pkgname/jSMS-311.jar $@
36 install -m 755 $startdir/src/$pkgname $startdir/pkg/usr/bin/$pkgname