updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / lib32-flashplugin10.1 / PKGBUILD
blob8685d02891afaea3e17be8de1ed3495e2846d670
1 # Maintainer: Robert McCathie <archaur at rmcc dot com dot au>
3 _name=flashplugin
4 pkgname=lib32-${_name}10.1
5 _licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
6 pkgver=10.1.102.65
7 pkgrel=1
8 pkgdesc="Adobe Flash Player 10.1 series. Multilib for x86_64"
9 url="http://get.adobe.com/flashplayer"
10 arch=('x86_64')
11 depends=('mozilla-common' 'lib32-libxt' 'lib32-gtk2' 'lib32-nss' 'lib32-curl' 'lib32-alsa-lib' 'nspluginwrapper')
12 provides=('flashplayer' 'flashplugin')
13 conflicts=('flashplugin')
14 license=('custom')
15 install=flashplugin.install
16 source=("http://www.paradoxcomputers.com.au/flashplugin10.1-linux/install_flash_player_10_linux.tar.gz"
17         "http://www.adobe.com/products/eulas/pdfs/${_licensefile}")
18 md5sums=('f628237fc297db061a582c42b639871a'
19          '1636037610ee2aa35c5fb736a697b7e0')
20 options=(!strip)
22 package() {
23   install -d -m755 "${pkgdir}/usr/lib32/mozilla/plugins/"
24   install -m755 "${srcdir}/libflashplayer.so" "${pkgdir}/usr/lib32/mozilla/plugins/"
25   install -d -m755 "${pkgdir}/usr/share/licenses/${_name}/"
26   install -m644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${_name}/LICENSE.pdf"
28   # Install npwrapper:
29   mkdir -p "${pkgdir}/usr/lib/mozilla/plugins/"
30   touch "${pkgdir}/usr/lib/mozilla/plugins/npwrapper.libflashplayer.so"
31   chmod 755 "${pkgdir}/usr/lib/mozilla/plugins/npwrapper.libflashplayer.so"