diff options
author | sL1pKn07 | 2020-03-03 06:06:16 +0100 |
---|---|---|
committer | sL1pKn07 | 2020-03-03 06:06:16 +0100 |
commit | 149aa3c60b7a702b17501280c91af77a0c15f286 (patch) | |
tree | 89af1016eaa7c1953e9626ba839bb30bba4d7fb1 | |
parent | 9e5e0a0f54f095540a169f642ee5df3b4b50e628 (diff) | |
download | aur-149aa3c60b7a702b17501280c91af77a0c15f286.tar.gz |
bump
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | mpv-mpris-git.install | 44 |
3 files changed, 39 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = mpv-mpris-git pkgdesc = MPRIS plugin for mpv. (GIT version) - pkgver = 0.2.4.ga9fe25c + pkgver = 0.4.5.g6945b58 pkgrel = 1 url = https://github.com/hoyon/mpv-mpris install = mpv-mpris-git.install @@ -1,7 +1,7 @@ # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> pkgname=mpv-mpris-git -pkgver=0.2.4.ga9fe25c +pkgver=0.4.5.g6945b58 pkgrel=1 pkgdesc="MPRIS plugin for mpv. (GIT version)" arch=('x86_64') diff --git a/mpv-mpris-git.install b/mpv-mpris-git.install index 5a8c733e95a5..2e3cd8fe1961 100644 --- a/mpv-mpris-git.install +++ b/mpv-mpris-git.install @@ -1,3 +1,4 @@ + all_off="$(tput sgr0)" bold="${all_off}$(tput bold)" yellow="${bold}$(tput setaf 3)" @@ -6,18 +7,44 @@ green="${bold}$(tput setaf 2)" _instructions() { printf "${yellow}==>${all_off} ${bold}ATTENTION:${all_off} - ${blue}->${all_off} For run this plugin, add this line: +${green}==>${all_off} ${bold}For run this plugin, you can use one of this methods:${all_off} + + ${blue}->${all_off} Or add this line: + '${bold}script=/usr/share/mpv/scripts/mpris.so${all_off}' - in your '${bold}/etc/mpv/mpv.conf${all_off}', or copy the plugin into - your '${bold}"$\HOME/".config/mpv/scripts'${all_off}' folder, for autoload it.\n" + + in one of two this config files: + + User Wide: '${bold}"$\HOME/".config/mpv/mpv.conf${all_off}' + System Wide: '${bold}/etc/mpv/mpv.conf${all_off}' + + ${blue}->${all_off} Or copy (or softlink) the plugin into one of two places: + + User Wide: '${bold}"$\HOME/".config/mpv/scripts${all_off}' + System Wide: '${bold}/etc/mpv/scripts${all_off}' + + for autoload it.\n" } _instructions_remove() { printf "${yellow}==>${all_off} ${bold}ATTENTION:${all_off} - ${blue}->${all_off} Don\'t forget remove this line: - '${bold}script=/usr/share/mpv/scripts/mpris.so${all_off}' - in your '${bold}/etc/mpv/mpv.conf${all_off}', or remove the plugin into - your '${bold}"$\HOME/".config/mpv/scripts'${all_off}' folder.\n" +${green}==>${all_off} ${bold}Don\'t forget:${all_off} + + ${blue}->${all_off} Remove this line: + + '${bold}script=/usr/share/mpv/scripts/mpris.so${all_off}' + + in your config file: + + User Wide: '${bold}"$\HOME/".config/mpv/mpv.conf${all_off}' + System Wide: '${bold}/etc/mpv/mpv.conf${all_off}' + + ${blue}->${all_off} Or remove the plugin (or softlink) into your: + + User Wide: '${bold}"$\HOME/".config/mpv/scripts${all_off}' + System Wide: '${bold}/etc/mpv/scripts${all_off}' + + folder.\n" } post_install() { @@ -27,3 +54,6 @@ post_install() { post_remove() { _instructions_remove } + +_instructions +_instructions_remove
\ No newline at end of file |