updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / flashplayer-standalone / PKGBUILD
blob4a21385dd74a34f6c2482a5d857894381f8f77f3
1 # Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
2 # Contributor: osily <ly50247@gmail.com>
4 pkgname=flashplayer-standalone
5 pkgver=11.1.102.55
6 pkgrel=1
7 pkgdesc="Macromedia standalone flash player (nonfree)"
8 url="http://www.adobe.com/support/flashplayer/downloads.html"
9 license="custom"
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"
14         "gflashplayer.png"
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
23   pkgver=11.0.1.152
24   pkgrel=2
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')
29 options=(!strip)
30 install="$pkgname.install"
32 package() {
33   cd "${srcdir}"
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"