updated on Tue Jan 10 16:09:17 UTC 2012
[aur-mirror.git] / flashplugin-debugger / PKGBUILD
blob88490ea0a12ff3ae1b401b22575f6a73e50d969d
1 # Maintainer: Michael Morgan <morgan.michael@me.com>
3 pkgname=flashplugin-debugger
4 _licensefile='PlatformClients_PC_WWEULA-Combined-20100108_1657.pdf'
5 pkgver=11.1.102.55
6 pkgrel=2
7 pkgdesc='Adobe Flash Player'
8 url='http://www.adobe.com/support/flashplayer/downloads.html'
9 arch=('i686' 'x86_64')
10 case "$CARCH" in
11   'i686')
12     depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl' 'alsa-lib')
13     optdepends=('libvdpau: GPU acceleration on Nvidia card')
14       ;;
15   'x86_64')
16     depends=('mozilla-common' 'lib32-libxt' 'lib32-gtk2' 'lib32-nss' 'lib32-curl' 'lib32-alsa-lib' 'nspluginwrapper')
17     optdepends=('lib32-libvdpau: GPU acceleration on Nvidia card')
18     ;;
19 esac
20 provides=('flashplayer')
21 conflicts=('flashplugin')
22 license=('custom')
23 install=flashplugin.install
24 backup=(etc/adobe/mms.cfg)
25 source=('http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug.i386.tar.gz'
26         "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
27         mms.cfg)
28 md5sums=('5e05ac5b8aff6b8f56837c70aeedb8a8'
29          '53146e096d2e4ec3dd26828b69704d2d'
30          'ad99cdab9b6d2d9943394a438b569495')
31 options=(!strip)
33 package() {
34   install -d -m755 "${pkgdir}"/usr/lib/mozilla/plugins/
35   case "$CARCH" in
36     'i686')
37       install -m755 "${srcdir}"/libflashplayer.so "${pkgdir}"/usr/lib/mozilla/plugins/
38       ;;
39     'x86_64')
40       install -d -m755 "${pkgdir}"/usr/lib32/mozilla/plugins/
41       install -m755 "${srcdir}"/libflashplayer.so "${pkgdir}"/usr/lib32/mozilla/plugins/
42       touch "${pkgdir}"/usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
43       chmod 755 "${pkgdir}"/usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
44       ;;
45   esac
47   install -d -m755 "${pkgdir}"/usr/share/licenses/${pkgname}/
48   install -m644 "${_licensefile}" "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.pdf
49   install -d -m755 "${pkgdir}"/etc/adobe
50   install -m644 "${srcdir}"/mms.cfg "${pkgdir}"/etc/adobe/mms.cfg
53 # vim:set ts=2 sw=2 et: