summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/flashplugin/PKGBUILD
blob: c239c7ff8612a2c3e25953f0a326eeaa5a545aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id$
# Contributor: Andrea Scarpino <andrea@archlinux.org>

pkgname=flashplugin
_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
pkgver=10.2.152.27
_pkgver64=10.0.45.2
pkgrel=3
pkgdesc='Adobe Flash Player'
url='http://get.adobe.com/flashplayer'
arch=('i686') # 'x86_64')
depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
optdepends=('libvdpau: GPU acceleration on Nvidia card')
replaces=('flashplugin-beta')
provides=('flashplayer')
license=('custom')
options=(!strip)
install=flashplugin.install
backup=(etc/adobe/mms.cfg)
source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz'
        "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
         mms.cfg)
#[ "${CARCH}" = "x86_64" ] && source[0]="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${_pkgver64}.linux-${CARCH}.so.tar.gz"
#[ "${CARCH}" = "x86_64" ] && md5sums[0]='4a4561e456612a6751653b58342d53df'

build() {
  install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/
  install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/
  install -d -m755 ${pkgdir}/etc/adobe
  install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/
  install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf
  install -m644 ${srcdir}/mms.cfg ${pkgdir}/etc/adobe/mms.cfg
}
md5sums=('afab0b40b0ae11445e2e90a4a9224a8a'
         '1636037610ee2aa35c5fb736a697b7e0'
         '50d6013971aba485c337c44c402fd3e1')