chromium-widevine: remove USELESS INSTALL.msg; fix INSTALL/REMOVE scripts.

You can assume /bin/sh is bash, because in void hosts it's dash.
This commit is contained in:
Juan RP 2015-10-26 14:34:36 +01:00
parent b622f94386
commit 10806dfff8
4 changed files with 9 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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

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=3
revision=4
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"