diff options
author | Jesse McClure | 2016-12-21 08:02:16 -0500 |
---|---|---|
committer | Jesse McClure | 2016-12-21 08:02:16 -0500 |
commit | cb757fc3a9cf384db161e2a6a1b4ffadb1229337 (patch) | |
tree | 39934f3584d1f665ad40986f76e2fa5743da3242 | |
download | aur-cb757fc3a9cf384db161e2a6a1b4ffadb1229337.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7366f4b6eb06 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = qt5-webengine-widevine + pkgdesc = A browser plugin designed for the viewing of premium video content + pkgver = 1.4.8.903 + pkgrel = 1 + epoch = 1 + url = http://www.google.com/chrome + arch = i686 + arch = x86_64 + license = custom:chrome + depends = qt5-webengine + options = !strip + source = chrome-eula_text.html::https://www.google.com/intl/en/chrome/browser/privacy/eula_text.html + sha256sums = e93c01576427cad9099f2cf0df0be70d0a2cc0a3a66c743318b2138aa7c4ed93 + source_i686 = http://mirror.retrosnub.co.uk/apt/google/pool/main/g/google-chrome-stable/google-chrome-stable_48.0.2564.116-1_i386.deb + sha256sums_i686 = 7401ad3698a28bf2b45e350fd2b941c44cb51dbb3f87b0e7dd1a2da72c42f594 + source_x86_64 = https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_55.0.2883.87-1_amd64.deb + sha256sums_x86_64 = 15e44458e0ff667fa0f97f6970df200daf41a671477f8a08cd18b5dbb64b77b3 + +pkgname = qt5-webengine-widevine + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..518a340a2990 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Jesse McClure aka "Trilby" <jesse dot mcclure at umassmed dot edu> +# Contributor: Doug Newgard <scimmia at archlinux dot info> + +pkgname=qt5-webengine-widevine +pkgdesc='A browser plugin designed for the viewing of premium video content' +pkgver=1.4.8.903 +pkgrel=1 +epoch=1 +arch=('i686' 'x86_64') +url='http://www.google.com/chrome' +license=('custom:chrome') +options=('!strip') +depends=('qt5-webengine') +_chrome_ver=55.0.2883.87 +source=('chrome-eula_text.html::https://www.google.com/intl/en/chrome/browser/privacy/eula_text.html') +source_i686=("http://mirror.retrosnub.co.uk/apt/google/pool/main/g/google-chrome-stable/google-chrome-stable_48.0.2564.116-1_i386.deb") +source_x86_64=("https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${_chrome_ver}-1_amd64.deb") +sha256sums=('e93c01576427cad9099f2cf0df0be70d0a2cc0a3a66c743318b2138aa7c4ed93') +sha256sums_i686=('7401ad3698a28bf2b45e350fd2b941c44cb51dbb3f87b0e7dd1a2da72c42f594') +sha256sums_x86_64=('15e44458e0ff667fa0f97f6970df200daf41a671477f8a08cd18b5dbb64b77b3') + +prepare() { + bsdtar -xf data.tar.xz opt/google/chrome/{chrome,libwidevinecdm.so,libwidevinecdmadapter.so} +} + +pkgver() { + awk 'match($0,/\(version: \0?([0-9.]+)/,a) {print a[1];}' opt/google/chrome/chrome +} + +package() { + install -Dm644 opt/google/chrome/libwidevinecdm.so -t "$pkgdir/usr/lib/qt/plugins/ppapi/" + install -Dm644 opt/google/chrome/libwidevinecdmadapter.so -t "$pkgdir/usr/lib/qt/plugins/ppapi/" + install -Dm644 chrome-eula_text.html "$pkgdir/usr/share/licenses/$pkgname/eula_text.html" +} |