mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 01:07:15 +08:00
42 lines
1.6 KiB
Bash
42 lines
1.6 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=flashplugin-square
|
|
_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
|
|
pkgver=10.2.151.49
|
|
pkgrel=1
|
|
[ "${CARCH}" = "x86_64" ] && pkgver=10.3.162.29
|
|
[ "${CARCH}" = "x86_64" ] && pkgrel=1
|
|
|
|
pkgdesc='Adobe Flash Player Square'
|
|
[ "${CARCH}" = "i686" ] && pkgdesc='Adobe Flash Player 10.2 Beta'
|
|
url='http://labs.adobe.com/technologies/flashplayer10/'
|
|
arch=('i686' 'x86_64')
|
|
|
|
source=('http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p2_32bit_linux_111710.tar.gz'
|
|
"http://www.adobe.com/products/eulas/pdfs/${_licensefile}")
|
|
md5sums=('3a5c1e0a77bb44d3456c933a056bcf47'
|
|
'94ca2aecb409abfe36494d1a7ec7591d')
|
|
[ "${CARCH}" = "x86_64" ] && source[0]="http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz"
|
|
[ "${CARCH}" = "x86_64" ] && md5sums[0]='49b55c7eb8044453e5f6f2e4b3cb4084'
|
|
|
|
depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
|
|
conflicts=('flashplugin')
|
|
provides=('flashplayer' 'flashplugin')
|
|
license=('custom')
|
|
options=(!strip)
|
|
|
|
package() {
|
|
install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
|
|
install -m755 ${srcdir}/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
|
|
install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
|
|
install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
|
|
}
|
|
|