Skip to content

Instantly share code, notes, and snippets.

@urbanslug
Last active September 22, 2015 00:00
Show Gist options
  • Save urbanslug/23e72c5e1f840dd6d1a8 to your computer and use it in GitHub Desktop.
Save urbanslug/23e72c5e1f840dd6d1a8 to your computer and use it in GitHub Desktop.
# Maintainer: ava1ar <mail(at)ava1ar(dot)me>
# Updated: urbanslug <mwanikibusiness(at)gmail(dot)com> 22-Sept-2015
pkgname=chromium-pepper-flash
pkgdesc="Google Chrome's Pepper Flash plugin for Chromium (stable version)"
pkgver=18.0.0.233
pkgrel=1
epoch=1
arch=('i686' 'x86_64')
url="http://www.google.com/chrome"
license=('custom:chrome')
conflicts=('chromium-pepper-flash-dev')
provides=('pepper-flash')
source=(${pkgname}-license.html::https://www.google.com/chrome/intl/en/eula_text.html)
source_i686=(https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm)
source_x86_64=(https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm)
sha256sums=('b35811bb330576631e64f7885c66720e0be4ca81afb04328b3a0f288a708e37f')
sha256sums_i686=('03402311f6b862fe4c867c5a4787154aeaeec57bb0a95b30a58ed91a6daa3012')
sha256sums_x86_64=('edbfd80ae61d30585c6d5fc9d385b1586c1675fce654bfffb89ae93a5615d005')
package() {
# create required directories
install -d "${pkgdir}"/usr/lib/PepperFlash
# copy required files
install -m644 "${srcdir}"/opt/google/chrome/PepperFlash/* "${pkgdir}"/usr/lib/PepperFlash
# copy license
install -Dm644 "${srcdir}"/${pkgname}-license.html "${pkgdir}"/usr/share/licenses/${pkgname}/license.html
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment