summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--mpv-notify-git.install8
3 files changed, 12 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c1ce63cd9f9d..72dd1c4a27aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = mpv-notify-git
pkgdesc = Desktop notifications for the mpv media player
pkgver = r19.019e278
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rohieb/mpv-notify
+ install = mpv-notify-git.install
arch = any
license = MIT
depends = lua52-socket
diff --git a/PKGBUILD b/PKGBUILD
index eded18c22142..6d4615f10d1b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
pkgname=mpv-notify-git
pkgver=r19.019e278
-pkgrel=1
+pkgrel=2
pkgdesc="Desktop notifications for the mpv media player"
arch=(any)
url=https://github.com/rohieb/mpv-notify
license=(MIT)
depends=(lua52-socket lua52-posix libnotify imagemagick)
+install=$pkgname.install
source=($pkgname::git+https://github.com/rohieb/mpv-notify.git)
sha256sums=(SKIP)
diff --git a/mpv-notify-git.install b/mpv-notify-git.install
new file mode 100644
index 000000000000..1fcd2399aeca
--- /dev/null
+++ b/mpv-notify-git.install
@@ -0,0 +1,8 @@
+post_install() {
+ cat <<EOF
+
+ $ mkdir -p ~/.config/mpv/scripts/
+ $ ln -s /usr/share/mpv-notify/notify.lua ~/.config/mpv/scripts/
+
+EOF
+}