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

View File

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