updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / balsamiqmockups / PKGBUILD
blobaedfb11b7b74ab51763e365ec59dbf16fe363ee9
1 # Maintainer: tang0th67 <tang0th@gmx.com>"
2 # Have any improvements? Please change this PKGBUILD and send your code to me.
4 pkgname='balsamiqmockups'
5 pkgver=2.1.10
6 license=('custom')
7 pkgrel=1
8 arch=('i686' 'x86_64')
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')
17 package() {
18   cd $srcdir
19   mkdir $pkgdir/opt/
20   mkdir $pkgdir/opt/airapps
21   mkdir $pkgdir/usr/
22   mkdir $pkgdir/usr/bin
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/