mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
chromium-widevine: unbreak absolute paths in INSTALL/REMOVE scripts
This commit is contained in:
parent
30c540c74f
commit
5f77e9b82b
2 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# INSTALL
|
# INSTALL
|
||||||
DISTFILE="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
|
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
|
case "$ACTION" in
|
||||||
post)
|
post)
|
||||||
# Actions to execute before the package files are unpacked.
|
# Actions to execute before the package files are unpacked.
|
||||||
|
@ -10,7 +10,8 @@ post)
|
||||||
cd $BUILD_DIR
|
cd $BUILD_DIR
|
||||||
ar x $PKGNAME.deb
|
ar x $PKGNAME.deb
|
||||||
tar xf data.tar.xz --wildcards './opt/google/chrome/libwidevine*'
|
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
|
rm -r $BUILD_DIR
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -4,7 +4,7 @@ _channel="stable"
|
||||||
|
|
||||||
pkgname=chromium-widevine
|
pkgname=chromium-widevine
|
||||||
version=69.0.3497.100
|
version=69.0.3497.100
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="A browser plugin designed for the viewing of premium video content"
|
short_desc="A browser plugin designed for the viewing of premium video content"
|
||||||
maintainer="Benjamin Hoffmeyer <hoffmeyer25@gmail.com>"
|
maintainer="Benjamin Hoffmeyer <hoffmeyer25@gmail.com>"
|
||||||
homepage="https://www.google.com/chrome"
|
homepage="https://www.google.com/chrome"
|
||||||
|
|
Loading…
Add table
Reference in a new issue