diff options
author | gustawho | 2020-08-10 11:34:32 -0600 |
---|---|---|
committer | gustawho | 2020-08-10 11:34:32 -0600 |
commit | a911a461fd26896bb6369567733445c2e3bb619a (patch) | |
tree | a053476aec335d52df3602cb0fa04e1a07b8b7f0 | |
parent | 4a1c1a0a66589a70dd3c846e4877478b13dfe4d3 (diff) | |
download | aur-a911a461fd26896bb6369567733445c2e3bb619a.tar.gz |
Extract license file from source
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 6 insertions, 9 deletions
@@ -1,16 +1,14 @@ pkgbase = qt5-webengine-widevine pkgdesc = A browser plugin designed for the viewing of premium video content (E.g. Spotify) pkgver = 84.0.4147.105 - pkgrel = 2 + pkgrel = 3 url = https://www.widevine.com/ arch = x86_64 license = custom depends = qt5-webengine options = !strip source = https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_84.0.4147.105-1_amd64.deb - source = https://www.google.com/intl/en/chrome/privacy/eula_text.html sha256sums = dc7fa2ca2dccf482524dc2a343662859a22ad1fb33767447d7de6fcf6cc1dd7e - sha256sums = f68e9de22adbf8fb0725e27f3a9d94a44bb816ef5751296fedb8cfb448db566c pkgname = qt5-webengine-widevine @@ -3,22 +3,21 @@ pkgname=qt5-webengine-widevine pkgdesc='A browser plugin designed for the viewing of premium video content (E.g. Spotify)' pkgver=84.0.4147.105 -pkgrel=2 +pkgrel=3 arch=('x86_64') url='https://www.widevine.com/' license=('custom') depends=('qt5-webengine') options=('!strip') -source=("https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${pkgver}-1_amd64.deb" - "https://www.google.com/intl/en/chrome/privacy/eula_text.html") -sha256sums=('dc7fa2ca2dccf482524dc2a343662859a22ad1fb33767447d7de6fcf6cc1dd7e' - 'f68e9de22adbf8fb0725e27f3a9d94a44bb816ef5751296fedb8cfb448db566c') +source=("https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${pkgver}-1_amd64.deb") +sha256sums=('dc7fa2ca2dccf482524dc2a343662859a22ad1fb33767447d7de6fcf6cc1dd7e') prepare() { bsdtar -x --strip-components 7 -f data.tar.xz opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so + bsdtar -x --strip-components 5 -f data.tar.xz opt/google/chrome/WidevineCdm/LICENSE } package() { install -Dm644 libwidevinecdm.so -t "$pkgdir/usr/lib/qt/plugins/ppapi/" - install -Dm644 eula_text.html -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" } |