1 # Maintainer: tang0th67 <tang0th@gmx.com>"
2 # Have any improvements? Please change this PKGBUILD and send your code to me.
4 pkgname='balsamiqmockups'
9 pkgdesc="The Adobe Air based Mockup client. It does cost $79 but you can get a free trial"
10 url=('http://balsamiq.com/products/mockups')
11 source=('http://builds.balsamiq.com/b/mockups-desktop/MockupsForDesktop.air' 'balsamiqmockups.desktop')
12 depends=('bash' 'adobe-air-sdk' 'unzip')
13 conflicts=('balsamiq-mockups')
14 md5sums=('b034fef71b6d1f218fe2223190ea8e96'
15 'dc0a099ac9c065cb5675ab5605a61215')
20 mkdir $pkgdir/opt/airapps
23 install $srcdir/MockupsForDesktop.air $pkgdir/opt/airapps/balsamiqmockups.air
24 mkdir $pkgdir/opt/airapps/balsamiqmockups
25 cd $pkgdir/opt/airapps/balsamiqmockups
26 unzip ../balsamiqmockups.air
27 echo "#!/bin/bash" >> $pkgdir/usr/bin/balsamiqmockups
28 echo "/opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/balsamiqmockups/META-INF/AIR/application.xml /opt/airapps/balsamiqmockups/" >> $pkgdir/usr/bin/balsamiqmockups
29 chmod +x $pkgdir/usr/bin/balsamiqmockups
30 mkdir -p $pkgdir/usr/share/applications
31 install $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/