mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 09:07:01 +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
|
||||
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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue