From 10806dfff8e44acf4a7579360d48badda849841b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 26 Oct 2015 14:34:36 +0100 Subject: [PATCH] chromium-widevine: remove USELESS INSTALL.msg; fix INSTALL/REMOVE scripts. You can assume /bin/sh is bash, because in void hosts it's dash. --- srcpkgs/chromium-widevine/INSTALL | 6 ++++-- srcpkgs/chromium-widevine/INSTALL.msg | 11 ----------- srcpkgs/chromium-widevine/REMOVE | 6 ++++-- srcpkgs/chromium-widevine/template | 2 +- 4 files changed, 9 insertions(+), 16 deletions(-) delete mode 100644 srcpkgs/chromium-widevine/INSTALL.msg diff --git a/srcpkgs/chromium-widevine/INSTALL b/srcpkgs/chromium-widevine/INSTALL index 25463430bd1..b373eeb27c1 100644 --- a/srcpkgs/chromium-widevine/INSTALL +++ b/srcpkgs/chromium-widevine/INSTALL @@ -24,8 +24,10 @@ post) rm -r $BUILD_DIR; exit 1; } - mv $BUILD_DIR/opt/google/chrome/{libwidevinecdm.so,libwidevinecdmadapter.so} usr/lib/${PKGNAME} - ln -s usr/lib/${PKGNAME}/{libwidevinecdm.so,libwidevinecdmadapter.so} usr/lib/chromium + mv $BUILD_DIR/opt/google/chrome/libwidevinecdm.so usr/lib/${PKGNAME} + mv $BUILD_DIR/opt/google/chrome/libwidevinecdmadapter.so usr/lib/${PKGNAME} + ln -s usr/lib/${PKGNAME}/libwidevinecdm.so usr/lib/chromium + ln -s usr/lib/${PKGNAME}/libwidevinecdmadapter.so usr/lib/chromium rm -r $BUILD_DIR ;; esac diff --git a/srcpkgs/chromium-widevine/INSTALL.msg b/srcpkgs/chromium-widevine/INSTALL.msg deleted file mode 100644 index 2970bf3d36f..00000000000 --- a/srcpkgs/chromium-widevine/INSTALL.msg +++ /dev/null @@ -1,11 +0,0 @@ -- The Widevine package is licensed software. - - You MUST read and agree to the license stored in - /usr/share/licenses/chromium-widevine/license.html - before using it. - -- Please re-login to update CHROME_FLAGS or re-source - /etc/profile: - - $ source /etc/profile - diff --git a/srcpkgs/chromium-widevine/REMOVE b/srcpkgs/chromium-widevine/REMOVE index d40d0701619..c97e82895fe 100644 --- a/srcpkgs/chromium-widevine/REMOVE +++ b/srcpkgs/chromium-widevine/REMOVE @@ -1,6 +1,8 @@ case "$ACTION" in pre) - rm usr/lib/chromium/{libwidevinecdm.so,libwidevinecdmadapter.so} - rm usr/lib/chromium-widevine/{libwidevinecdm.so,libwidevinecdmadapter.so} + rm -f usr/lib/chromium/libwidevinecdm.so + rm -f usr/lib/chromium/libwidevinecdmadapter.so + rm -f usr/lib/chromium-widevine/libwidevinecdm.so + rm -f usr/lib/chromium-widevine/libwidevinecdmadapter.so ;; esac diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template index da9af6a8061..f097387948b 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=3 +revision=4 short_desc="A browser plugin designed for the viewing of premium video content" maintainer="Benjamin Hoffmeyer " homepage="http://www.google.com/chrome"