diff options
author | Stefan Majewsky | 2020-05-02 16:44:11 +0200 |
---|---|---|
committer | Stefan Majewsky | 2020-05-02 16:44:11 +0200 |
commit | da5d1f8f6e725bbd7f0bca897310bc1d5e93f8a4 (patch) | |
tree | d8df043e40b1e17eb57e15569e72b3f66bb4f92d | |
parent | 6881ffca4c9a59a5309643aae9e64c0138838252 (diff) | |
download | aur-da5d1f8f6e725bbd7f0bca897310bc1d5e93f8a4.tar.gz |
v0.5-2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | mpv-mpris.install | 16 |
3 files changed, 8 insertions, 12 deletions
@@ -1,7 +1,7 @@ pkgbase = mpv-mpris pkgdesc = MPRIS (Media Player Remote Interface Spec) plugin for mpv pkgver = 0.5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/hoyon/mpv-mpris install = mpv-mpris.install arch = i686 @@ -1,7 +1,7 @@ # Maintainer: Stefan Majewsky <majewsky@gmx.net> pkgname=mpv-mpris pkgver=0.5 -pkgrel=1 +pkgrel=2 pkgdesc='MPRIS (Media Player Remote Interface Spec) plugin for mpv' arch=('i686' 'x86_64') url='https://github.com/hoyon/mpv-mpris' diff --git a/mpv-mpris.install b/mpv-mpris.install index 4da3cb36ca38..9d947b90a0e9 100644 --- a/mpv-mpris.install +++ b/mpv-mpris.install @@ -1,12 +1,8 @@ post_install() { - echo - echo '>>> To load this plugin, specify the following option when starting mpv:' - echo - echo ' --script /usr/lib/mpv/mpris.so' - echo - echo '>>> To load this plugin automatically whenever mpv runs, do the following:' - echo - echo ' mkdir -p $HOME/.config/mpv/scripts' - echo ' ln -s /usr/lib/mpv/mpris.so $HOME/.config/mpv/scripts/mpris.so' - echo + ln -s /usr/lib/mpv/mpris.so /etc/mpv/scripts/mpris.so + echo ">>> If you don't want this plugin to autoload, delete the symlink at /etc/mpv/scripts/mpris.so." +} + +post_upgrade() { + # respect the user's choice and don't create the symlink again } |