blob: 3eb8fea123b1f1865065c7b6f0a87f26b3685021 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Ren Tatsumoto <tatsu at autistici dot org>
# Contributor: eshrh <esrh at gatech dot edu>
pkgname=mpv-mpvacious
pkgver=0.19.r0.g95e526b
pkgrel=1
pkgdesc="Adds mpv keybindings to create Anki cards from movies and TV shows."
arch=('any')
url="https://github.com/Ajatt-Tools/mpvacious"
license=('GPL3')
depends=('mpv')
makedepends=('git')
optdepends=('xclip: clipboard autocopy' 'wl-clipboard: clipboard autocopy on wayland')
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"
for file in ./*.lua; do
install -Dm644 "$file" "${pkgdir}/etc/mpv/scripts/mpvacious/${file}"
done
}
|