1 # Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
2 # Contributor: osily <ly50247@gmail.com>
4 pkgname=flashplayer-standalone
7 pkgdesc="Macromedia standalone flash player (nonfree)"
8 url="http://www.adobe.com/support/flashplayer/downloads.html"
10 depends=('gtk2' 'libxt' 'nss' 'desktop-file-utils')
11 arch=('i686' 'x86_64')
12 # License matrix: http://www.adobe.com/products/eulas/
13 source=("http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf"
15 "flashplayer.desktop")
16 md5sums=('94ca2aecb409abfe36494d1a7ec7591d'
17 'b6b218eacdb3bc2efae9292526a8cd05'
18 'd2d004343a89d221a6afb8a8b725b016')
19 if [ "x$CARCH" = "xi686" ]; then
20 source+=("http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.i386.tar.gz")
21 md5sums+=('f186e817cd01e0a3f0dd08517b399309')
22 elif [ "x$CARCH" = "xx86_64" ]; then
25 source+=("http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.x86_64.tar.gz")
26 md5sums+=('84a1c53892b62756213bd730595406f1')
28 conflicts=('bin32-flashplayer-standalone')
30 install="$pkgname.install"
34 install -Dm755 flashplayer "${pkgdir}/usr/bin/flashplayer"
35 install -Dm644 flashplayer.desktop "${pkgdir}/usr/share/applications/flashplayer.desktop"
36 install -Dm644 gflashplayer.png "${pkgdir}/usr/share/pixmaps/gflashplayer.png"
37 install -Dm644 PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf "$pkgdir/usr/share/licenses/$pkgname/PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf"