mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
27 lines
1.1 KiB
Bash
27 lines
1.1 KiB
Bash
# Maintainer: Justin Dray <justin@dray.be>
|
|
|
|
buildarch=4
|
|
|
|
pkgname=chromium-pepper-flash
|
|
pkgdesc="Google Chrome's Pepper Flash plugin for Chromium on armv7h"
|
|
pkgver=11.7.700.225
|
|
pkgrel=3
|
|
arch=('armv7h')
|
|
url="http://www.google.com/chrome"
|
|
license=('custom:chrome')
|
|
depends=('chromium')
|
|
provides=("chromium-pepper-flash=${pkgver}")
|
|
optdepends=('pulseaudio-alsa: For PulseAudio users')
|
|
install=chromium-pepper-flash.install
|
|
source=('license.html::http://www.google.com/chrome/intl/en/eula_text.html'
|
|
"http://mirror.nekinie.com/chromium-pepper-flash-armv7h/PepperFlash-${pkgver}-armv7h.tar.gz")
|
|
# Backup (slow) mirror "https://www.dray.be/PepperFlash-${pkgver}-armv7h.tar.gz"
|
|
md5sums=('ba19ea498f294975d320ff0b26a6cd63'
|
|
'7631da586071874409dac066f85ca567')
|
|
|
|
package() {
|
|
install -d "${pkgdir}/usr/lib/PepperFlash"
|
|
install -m644 ${srcdir}/PepperFlash/* "${pkgdir}/usr/lib/PepperFlash"
|
|
sed -i "s/flashver=.*/flashver=${pkgver}/" "${startdir}/chromium-pepper-flash.install"
|
|
install -Dm644 "${srcdir}/license.html" "${pkgdir}/usr/share/licenses/${pkgname}/license.html"
|
|
}
|