summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoresrh2021-01-29 10:34:24 -0500
committeresrh2021-01-29 10:34:24 -0500
commit2f8eeff59eeba6eb0a6970c0cd98886d4d1beb05 (patch)
tree77251862dc10378fd122129acb76f45a17e35d70
downloadaur-2f8eeff59eeba6eb0a6970c0cd98886d4d1beb05.tar.gz
first commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD24
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5a2695ff715
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = mpv-mpvacious
+ pkgdesc = MPV script to add keybindings to create Anki cards from movies and TV shows.
+ pkgver = 0.12.r9.g4592698
+ pkgrel = 1
+ url = https://github.com/Ajatt-Tools/mpvacious
+ arch = any
+ license = GPL3
+ depends = mpv
+ optdepends = xclip: clipboard autocopy
+ source = mpv-mpvacious::git+https://github.com/Ajatt-Tools/mpvacious
+ md5sums = SKIP
+
+pkgname = mpv-mpvacious
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d3ee67a2190
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: esrh : email at esrh at netc dot eu
+pkgname=mpv-mpvacious
+pkgver=0.12.r9.g4592698
+pkgrel=1
+pkgdesc="MPV script to add keybindings to create Anki cards from movies and TV shows."
+arch=('any')
+url="https://github.com/Ajatt-Tools/mpvacious"
+license=('GPL3')
+depends=('mpv')
+optdepends=('xclip: clipboard autocopy')
+source=("mpv-mpvacious::git+https://github.com/Ajatt-Tools/mpvacious")
+md5sums=('SKIP')
+
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long --tags | sed "s/-/.r/;s/-/./" | cut -c2-
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ install -Dm644 subs2srs.lua "${pkgdir}/etc/mpv/scripts/subs2srs.lua"
+}
+