diff options
Diffstat (limited to 'abs/extra-testing/community/flashplugin/PKGBUILD')
-rw-r--r-- | abs/extra-testing/community/flashplugin/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra-testing/community/flashplugin/PKGBUILD b/abs/extra-testing/community/flashplugin/PKGBUILD new file mode 100644 index 0000000..1e68f40 --- /dev/null +++ b/abs/extra-testing/community/flashplugin/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 21951 2008-12-18 13:25:19Z thomas $ + +pkgname=flashplugin +_licensefile='Reader_Player_WWEULA-Combined-20060724_1430.pdf' +if [ "${CARCH}" = 'i686' ]; then + pkgver=10.0.15.3 + pkgrel=1 + source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz' + "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") + md5sums=('afab0b40b0ae11445e2e90a4a9224a8a' + '844cea6c9afc13d9e27f28ce1a6e20f3') +elif [ "${CARCH}" = 'x86_64' ]; then + pkgver=10.0.d21.1 + pkgrel=1 + source=("http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${pkgver}.linux-x86_64.so.tar.gz" + "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") + md5sums=('c165af9d4e324bfaf6d1cfbdbe959fbb' + '844cea6c9afc13d9e27f28ce1a6e20f3') +else + error Unknown architecture. + exit 1 +fi +pkgdesc='Adobe Flash Player' +url='http://www.adobe.com/go/getflash' +arch=('i686' 'x86_64') +depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl') +replaces=('flashplugin-beta') +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 + elif [ "${CARCH}" = 'x86_64' ]; then + install -m755 ${srcdir}/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 +} |