mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
38 lines
1.5 KiB
Bash
38 lines
1.5 KiB
Bash
# $Id: PKGBUILD 53007 2009-09-25 00:42:42Z eric $
|
|
|
|
pkgname=flashplugin
|
|
_licensefile='Reader_Player_WWEULA-Combined-20060724_1430.pdf'
|
|
if [ "${CARCH}" = 'i686' ]; then
|
|
pkgver=10.0.32.18
|
|
pkgrel=1.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=('6306980e40a3266b4b6c173bfcfdc946'
|
|
'844cea6c9afc13d9e27f28ce1a6e20f3')
|
|
elif [ "${CARCH}" = 'x86_64' ]; then
|
|
pkgver=10.0.32.18
|
|
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=('492d98d25886afcaf18252334d4ac4e2'
|
|
'844cea6c9afc13d9e27f28ce1a6e20f3')
|
|
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}/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
|
|
}
|
|
|