blob: 2ff17e9f1cf366f5d377138834a083fd95da8996 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Reventlov <contact+aur@volcanis.me>
pkgname=chromium-pepper-flash-standalone
pkgdesc="Google Chrome's Pepper Flash plugin for Chromium (stable version) - Standalone version"
pkgver=21.0.0.213
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.google.com/chrome"
license=('custom:chrome')
depends=()
provides=('chromium-pepper-flash' 'pepper-flash')
conflicts=('chromium-pepper-flash-dev' 'chromium-pepper-flash')
optdepends=('pulseaudio-alsa: For PulseAudio users')
install=chromium-pepper-flash.install
source=(license.html::https://www.google.com/chrome/browser/privacy/eula_text.html)
sha1sums=('1ffba5152cb749300a016efec909b828eba9a64a')
if [ "$CARCH" == i686 ]; then
source+=(http://docs.volcanis.me/.pepper-flash/i686/libpepflashplayer.so)
sha1sums+=('')
source+=(http://docs.volcanis.me/.pepper-flash/i686/manifest.json)
sha1sums+=('')
elif [ "$CARCH" == x86_64 ]; then
source+=(http://docs.volcanis.me/.pepper-flash/x86_64/libpepflashplayer.so)
sha1sums+=('9baa51c1583fb1cb8ff8056b179ffdad2f392688')
source+=(http://docs.volcanis.me/.pepper-flash/x86_64/manifest.json)
sha1sums+=('f19a3e5a9266a5ad0727cac18f4bb22e1b3f1815')
fi
package() {
install -d "${pkgdir}/etc/chromium/"
install -d "${pkgdir}/usr/lib/PepperFlash"
install -m644 "${srcdir}/manifest.json" "${pkgdir}/usr/lib/PepperFlash"
install -m644 "${srcdir}/libpepflashplayer.so" "${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"
}
|