From acf431b9439b3462386ee2d5172c746f8e2b749c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 26 Oct 2015 14:14:34 +0100 Subject: [PATCH] chromium-widevine: make this really work (wth). --- srcpkgs/chromium-widevine/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template index 34cb1a08eed..96ff5eed5cf 100644 --- a/srcpkgs/chromium-widevine/template +++ b/srcpkgs/chromium-widevine/template @@ -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 " 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 }