lib32/lib32-flashplugin/PKGBUILD

20 lines
867 B
Bash
Raw Normal View History

2014-10-31 06:15:59 +08:00
pkgname=lib32-flashplugin
_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
pkgver=11.2.202.616
2014-10-31 06:15:59 +08:00
pkgrel=1
license=('custom')
pkgdesc='Adobe Flash Player for 32-bit Mozilla-based browsers'
url="http://get.adobe.com/flashplayer"
arch=('x86_64')
depends=('mozilla-common' 'lib32-libxt' 'lib32-gtk2' 'lib32-nss' 'lib32-curl' 'lib32-alsa-lib')
#optdepends=('lib32-libvdpau: video hardware decoding for supporting players')
options=(!strip)
source=("flash_player-$pkgver.i386.tar.gz::http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.i386.tar.gz")
md5sums=('489771efdee853e534d1025fba036f51')
2014-10-31 06:15:59 +08:00
package() {
install -Dm644 "${srcdir}/libflashplayer.so" "${pkgdir}/usr/lib32/mozilla/plugins/libflashplayer.so"
install -d "$pkgdir/usr/share/licenses"
ln -s "${pkgname#*-}" "$pkgdir/usr/share/licenses/$pkgname"
}