adobe-flash-plugin: update for x86_64.

--HG--
extra : convert_revision : 4113c73c3e788df1b889cd98e259ec483e36599b
This commit is contained in:
Juan RP 2009-12-20 22:06:38 +01:00
parent 755be11eb5
commit 6470cb060d

View File

@ -6,10 +6,11 @@ revision=2
_eula="http://www.adobe.com/products/eulas/pdfs/Reader_Player_WWEULA-Combined-20060724_1430.pdf" _eula="http://www.adobe.com/products/eulas/pdfs/Reader_Player_WWEULA-Combined-20060724_1430.pdf"
_eulacksum=986c3ddacfee18946fbef7b76485922f8f36e61f790776ce82a87afff3008427 _eulacksum=986c3ddacfee18946fbef7b76485922f8f36e61f790776ce82a87afff3008427
if [ "$xbps_machine" = "x86_64" ]; then if [ "$xbps_machine" = "x86_64" ]; then
# FIXME: not yet updated, update ${_disttarball} and add missing # There is no x86_64 version for 10.1beta yet.
# ${_distcksum} if fixing for x86_64. version=10.0.42.34
_disttarball="http://download.macromedia.com/pub/labs/flashplayer10" _disttarball="http://download.macromedia.com/pub/labs/flashplayer10"
_disttarball="${_disttarball}/libflashplayer-${version}.linux-x86_64.so.tar.gz" _disttarball="${_disttarball}/libflashplayer-${version}.linux-x86_64.so.tar.gz"
_distcksum="3833aaf5efbc2e5d57330e47a9f11b1e02b1f55741de148ec569d44b32ffe7e4"
else else
_disttarball="http://download.macromedia.com/pub/labs/flashplayer10" _disttarball="http://download.macromedia.com/pub/labs/flashplayer10"
_disttarball="${_disttarball}/flashplayer10_1_p1_linux_111709.tar.gz" _disttarball="${_disttarball}/flashplayer10_1_p1_linux_111709.tar.gz"
@ -46,8 +47,13 @@ do_install()
install -d ${DESTDIR}/usr/lib/mozilla/plugins \ install -d ${DESTDIR}/usr/lib/mozilla/plugins \
${DESTDIR}/usr/share/doc/${pkgname} || return 1 ${DESTDIR}/usr/share/doc/${pkgname} || return 1
tar xfz "${XBPS_SRCDISTDIR}/$(basename ${_disttarball})" || return 1 tar xfz "${XBPS_SRCDISTDIR}/$(basename ${_disttarball})" || return 1
install -m755 install_flash_player_10_linux/libflashplayer.so \ if [ "${xbps_machine}" = "x86_64" ]; then
${DESTDIR}/usr/lib/mozilla/plugins || return 1 install -m755 libflashplayer.so ${DESTDIR}/usr/lib/mozilla/plugins \
|| return 1
else
install -m755 install_flash_player_10_linux/libflashplayer.so \
${DESTDIR}/usr/lib/mozilla/plugins || return 1
fi
install -m644 "${XBPS_SRCDISTDIR}/$(basename ${_eula})" \ install -m644 "${XBPS_SRCDISTDIR}/$(basename ${_eula})" \
${DESTDIR}/usr/share/doc/${pkgname} || return 1 ${DESTDIR}/usr/share/doc/${pkgname} || return 1
} }