# Contributor : Anish Bhatt pkgname=flashplugin-prerelease _licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf' pkgver=10.1.51.66 pkgrel=1 source=('http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_1_p2_linux_121709.tar.gz' "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") md5sums=('4f56f8235cb72a59d04d64ca4bd442b3' '1636037610ee2aa35c5fb736a697b7e0') pkgdesc='Adobe Flash Player Prerelease' url='http://labs.adobe.com/technologies/flashplayer10/' arch=('i686') depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl') conflicts=('flashplugin') provides=('flashplayer') license=('custom') build() { install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 if [ "${CARCH}" = 'i686' ]; then install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 fi install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 }