# Maintainer: Limao Luo <luolimao@gmail.com>
# Contributor: Florian Léger <florian6 dot leger at laposte dot net>
# Contributor: osily <ly50247@gmail.com>
# Contributor: Tom Boshoven <tomboshoven gmail.com>
pkgname=flashplayer-standalone
pkgver=11.2.202.336
pkgrel=1
pkgdesc="Macromedia standalone flash player (nonfree)"
arch=(i686 x86_64)
url=http://w...content-available-to-author-only...e.com/support/flashplayer/downloads.html
license=(custom)
# License matrix: http://w...content-available-to-author-only...e.com/products/eulas/
depends=(desktop-file-utils hicolor-icon-theme lib32-curl lib32-gtk2 lib32-libxt lib32-nss)
[[ $CARCH == "i686" ]] && depends=(${depends[@]/lib32-/})
options=(!strip)
install=$pkgname.install
source=(http://f...content-available-to-author-only...a.com/pub/flashplayer/updaters/11/flashplayer_11_sa.i386.tar.gz
license.pdf::http://w...content-available-to-author-only...e.com/products/eulas/pdfs/PlatformClients_PC_WWEULA-MULTI-20110809_1357.pdf
flashplayer.desktop)
sha256sums=('b48c5b0454a1775f96a3aa065647083bcbc90ff6a1e059c23b72ace52cba13b8'
'd30b03c0f70f7c4a7837751286bab579d5033f2e7a1548279a9c09ea905b2849'
'e0f3061f6d8e12a4ca543c7d80562563eac79afbf9da149b43b9c6d7be621dd4')
sha512sums=('d6a496fd659cc505d5bd2ec35a3fd157fe2e44adf8122d7ddcbb6388fd1283d08282958a09b07542854a4cf8958bb870eb81ddb531334eaacb1a0765bdd0120e'
'a70fd7127f0f9d64f2c872d1e4634d93e24fdea165abfbe20724e68c1b7297df46362cb449b5a78d0eb4a68e43426965359ca93fd4ba4848d2542e5505bcd2fe'
'e4139b265896ebd276b4c7931d5718db7ac8b25e5e86decb2161c94d2b6b410dc7160667cda3a330ece40e64e7809d7afc5ddcc94e09352e84359fa4c7fe3e2d')
package() {
desktop-file-install flashplayer.desktop --dir "$pkgdir"/usr/share/applications/
install -Dm644 license.pdf "$pkgdir"/usr/share/licenses/$pkgname/license.pdf
install -Dm755 install_flash_player_linux_sa/flashplayer "$pkgdir"/usr/bin/flashplayer
}