summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordigitalone2019-04-10 21:30:11 +0200
committerdigitalone2019-04-10 21:30:11 +0200
commitfa750d864d923162e5113c8cb0b722becfe31853 (patch)
treefea70d9a7d7320a0445acb5aa53e493ac92cf215
parentdb01665d2d974027ad68e0c8b148fcfeaab7f74b (diff)
downloadaur-fa750d864d923162e5113c8cb0b722becfe31853.tar.gz
added Plasma acestream.protocol file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
-rw-r--r--acestream.protocol11
3 files changed, 24 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f535c450ce..850f5993cfb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = mpv-acestream
pkgdesc = Lua script that adds AceStream protocol handler to mpv player
pkgver = 0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Digitalone1/mpv-acestream
install = mpv-acestream.install
arch = any
license = GPL3
optdepends = acestream-engine: AceStream engine
source = https://github.com/Digitalone1/mpv-acestream/archive/v0.1.tar.gz
+ source = acestream.protocol
md5sums = 14defb5825819786c86bf25a1a054cdc
+ md5sums = b3c9666c4e0aecd92f6fc208a2b3429e
pkgname = mpv-acestream
diff --git a/PKGBUILD b/PKGBUILD
index 4ff59da99e0..c2e10e05638 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=mpv-acestream
pkgver=0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Lua script that adds AceStream protocol handler to mpv player"
arch=("any")
url="https://github.com/Digitalone1/mpv-acestream"
@@ -10,9 +10,13 @@ license=("GPL3")
#depends=()
#makedepends=()
optdepends=("acestream-engine: AceStream engine")
-source=("https://github.com/Digitalone1/mpv-acestream/archive/v$pkgver.tar.gz")
+source=(
+ "https://github.com/Digitalone1/mpv-acestream/archive/v$pkgver.tar.gz"
+ "acestream.protocol")
install="$pkgname.install"
-md5sums=("14defb5825819786c86bf25a1a054cdc")
+md5sums=(
+ "14defb5825819786c86bf25a1a054cdc"
+ "b3c9666c4e0aecd92f6fc208a2b3429e")
package() {
cd $pkgname-$pkgver
@@ -21,4 +25,7 @@ package() {
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "README.md" "$pkgdir//usr/share/doc//$pkgname/README.md"
+
+ # Plasma 5 protocol file
+ install -Dm644 "$srcdir/acestream.protocol" "$pkgdir/usr/share/kservices5/acestream.protocol"
}
diff --git a/acestream.protocol b/acestream.protocol
new file mode 100644
index 00000000000..ee8796d867d
--- /dev/null
+++ b/acestream.protocol
@@ -0,0 +1,11 @@
+[Protocol]
+exec=/usr/bin/mpv %u
+protocol=acestream
+input=none
+output=none
+helper=true
+listing=false
+reading=false
+writing=false
+makedir=false
+deleting=false