summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072020-03-03 06:06:16 +0100
committersL1pKn072020-03-03 06:06:16 +0100
commit149aa3c60b7a702b17501280c91af77a0c15f286 (patch)
tree89af1016eaa7c1953e9626ba839bb30bba4d7fb1
parent9e5e0a0f54f095540a169f642ee5df3b4b50e628 (diff)
downloadaur-149aa3c60b7a702b17501280c91af77a0c15f286.tar.gz
bump
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--mpv-mpris-git.install44
3 files changed, 39 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0af1746dc9b6..65fb77083046 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index acae2ac800ca..e040edb02e3a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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