chromium-widevine: unbreak absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
Enno Boland 2018-10-11 08:38:09 +02:00
parent 30c540c74f
commit 5f77e9b82b
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# INSTALL
DISTFILE="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
BUILD_DIR="/var/tmp/$PKGNAME.build"
BUILD_DIR="$PWD/var/tmp/$PKGNAME.build"
case "$ACTION" in
post)
# Actions to execute before the package files are unpacked.
@ -10,7 +10,8 @@ post)
cd $BUILD_DIR
ar x $PKGNAME.deb
tar xf data.tar.xz --wildcards './opt/google/chrome/libwidevine*'
mv opt/google/chrome/libwidevine* usr/lib/chromium
cd -
mv $BUILDDIR/opt/google/chrome/libwidevine* usr/lib/chromium
rm -r $BUILD_DIR
;;
esac

View File

@ -4,7 +4,7 @@ _channel="stable"
pkgname=chromium-widevine
version=69.0.3497.100
revision=1
revision=2
short_desc="A browser plugin designed for the viewing of premium video content"
maintainer="Benjamin Hoffmeyer <hoffmeyer25@gmail.com>"
homepage="https://www.google.com/chrome"