summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Wohlert2017-12-22 13:19:19 +0100
committerMichel Wohlert2017-12-22 13:19:19 +0100
commitee2087983a390e2a8df9dfdf97c6eb6cecd375dd (patch)
tree25498fcb798a3f986bce8e8e7794e9e1f15f58b3 /PKGBUILD
parent30552d37b14bf9fa4ce7efa5ea9de8a1f31fe0a1 (diff)
downloadaur-balsamiqmockups.tar.gz
Push to Version 3.5.15
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD54
1 files changed, 15 insertions, 39 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ace44144e1f..823c01d045e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,63 +1,39 @@
# Maintainer: John K. Luebs <jkl@johnluebs.com>
# Contributor: Vojtěch Kusý <https://github.com/wojtha>
+# Contributor: Michel Wohlert <michel.wohlert@gmail.com>
-# I maintain this on github, feel free to submit a pull request to
-# https://github.com/jkl1337/packages-archlinux.git
pkgname=balsamiqmockups
-pkgver=2.2.29
+pkgver=3.5.15
license=('custom')
pkgrel=5
arch=('any')
-pkgdesc="The Adobe Air based Mockup client. Not free or open source, there is a 7 day free trial."
+pkgdesc="The Adobe Air based Mockup client. Not free or open source, there is a 30 day free trial."
url='http://balsamiq.com/products/mockups'
-source=("https://build_archives.s3.amazonaws.com/mockups-desktop/2.2/MockupsForDesktop2.2.28-2015.08.24.air"
+source=("https://builds.balsamiq.com/mockups-desktop/Balsamiq_Mockups_3.5.15_bundled.zip"
"http://media.balsamiq.com/files/BalsamiqEula.pdf"
- 'fix-filetype-mime.patch'
- 'balsamiqmockups.desktop'
- 'vnd.balsamiq.bmml+xml.xml')
-sha1sums=('4c541244c7214ede9e1e4aa498bf1b8c2df597fd'
- '47d7519e1ee4348797af75df2f15c1c4b0b1714e'
- '279e15c0c1bcffeabc97d9af3882c849735b5aa9'
- 'cfe7240b7403ff47d63e9f8264581a40112607ff'
- '6f28b1fcc5758cb46c5f149d7896b53bdd027293')
-noextract=("MockupsForDesktop2.2.28-2015.08.24.air")
+ 'balsamiqmockups.desktop')
+sha1sums=('23299c28ca3dfb87ba55df193682a23e31f232cd'
+ '28c31aa6fbe94d03f622093e274f0398e7bfdb34'
+ 'cfe7240b7403ff47d63e9f8264581a40112607ff')
install=balsamiqmockups.install
-depends=(adobe-air-sdk desktop-file-utils lib32-libgl)
+depends=(wine desktop-file-utils lib32-libgl)
makedepends=(unzip)
conflicts=('balsamiq-mockups')
-build () {
- cd "${srcdir}"
-
- mkdir -p $pkgname
- cd "${srcdir}/${pkgname}"
- unzip -o "${srcdir}/MockupsForDesktop2.2.28-2015.08.24.air"
-
- msg2 "Apply patch fix-filetype-mime.patch"
- patch -Np1 -i "$srcdir/fix-filetype-mime.patch"
-}
-
package () {
cd "${srcdir}"
- install -dm755 "${pkgdir}/opt/airapps"
+ install -dm755 "${pkgdir}/opt/balsamiq"
install -Dm644 BalsamiqEula.pdf "${pkgdir}/usr/share/licenses/balsamiqmockups/BalsamiqEula.pdf"
- install -dm755 "${pkgdir}/opt/airapps"
- cp -pr "${pkgname}" "${pkgdir}/opt/airapps"
-
+ cp -pr "${srcdir}/Balsamiq_Mockups_3/." "${pkgdir}/opt/balsamiq"
+ mv "${pkgdir}/opt/balsamiq/Balsamiq Mockups 3.exe" "${pkgdir}/opt/balsamiq/balsamiq.exe"
+
install -dm755 "${pkgdir}/usr/bin"
echo "#!/bin/bash" > "${pkgdir}/usr/bin/balsamiqmockups"
- echo "/opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/balsamiqmockups/META-INF/AIR/application.xml /opt/airapps/balsamiqmockups/" >> "${pkgdir}/usr/bin/balsamiqmockups"
+ echo "wine /opt/balsamiq/balsamiq.exe" >> "${pkgdir}/usr/bin/balsamiqmockups"
chmod 755 "${pkgdir}/usr/bin/balsamiqmockups"
-
- for dim in 16 32 36 48 128 512; do
- install -d "$pkgdir"/usr/share/icons/hicolor/${dim}x${dim}/{apps,mimetypes}
- ln -s /opt/airapps/$pkgname/icons/mockups_ico_${dim}.png "${pkgdir}"/usr/share/icons/hicolor/${dim}x${dim}/apps/${pkgname}.png
- ln -s /opt/airapps/$pkgname/icons/mockups_doc_ico_${dim}.png "${pkgdir}"/usr/share/icons/hicolor/${dim}x${dim}/mimetypes/application-vnd.balsamiq.bmml+xml.png
- done
-
- install -Dm644 vnd.balsamiq.bmml+xml.xml "${pkgdir}/usr/share/mime/packages/vnd.balsamiq.bmml+xml.xml"
+
install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}