chromium-widevine: make this really work (wth).

This commit is contained in:
Juan RP 2015-10-26 14:14:34 +01:00
parent f5aa681e6e
commit acf431b943
1 changed files with 3 additions and 5 deletions

View File

@ -6,7 +6,7 @@ _baseUrl='http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable
pkgname=chromium-widevine pkgname=chromium-widevine
version=${_chromeVersion} version=${_chromeVersion}
revision=1 revision=2
short_desc="A browser plugin designed for the viewing of premium video content" short_desc="A browser plugin designed for the viewing of premium video content"
maintainer="Benjamin Hoffmeyer <hoffmeyer25@gmail.com>" maintainer="Benjamin Hoffmeyer <hoffmeyer25@gmail.com>"
homepage="http://www.google.com/chrome" homepage="http://www.google.com/chrome"
@ -30,17 +30,15 @@ esac
_chromeUrl="${_baseUrl}/${_filename}" _chromeUrl="${_baseUrl}/${_filename}"
distfiles="${_chromeUrl}" distfiles="${_chromeUrl}"
checksum="$_chromeChecksum" checksum="$_chromeChecksum"
skip_extraction="$_filename"
do_extract() { do_extract() {
: :
} }
do_build() { do_install() {
sed \ sed \
-e "s|%CHROME_URL%|${_chromeUrl}|" \ -e "s|%CHROME_URL%|${_chromeUrl}|" \
-e "s|%CHROME_CHECKSUM%|${_chromeChecksum}|" \ -e "s|%CHROME_CHECKSUM%|${_chromeChecksum}|" \
${FILESDIR}/chromium-widevine-vars.sh.in > chromium-widevine-vars.sh ${FILESDIR}/chromium-widevine-vars.sh.in > chromium-widevine-vars.sh
} vinstall chromium-widevine-vars.sh 644 usr/lib/$pkgname
do_install() {
vlicense ${FILESDIR}/LICENSE vlicense ${FILESDIR}/LICENSE
} }