summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd955d163a92636a0b0c6ea58ab409e39779def8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: ngn13 <ngn13proton@proton.me>
pkgname="linux-video-viewer"
pkgver=1
pkgrel=2
pkgdesc="Opens any video as an MPV"
arch=("x86_64")
url="https://github.com/ByCh4n-Group/Linux-Video-Viewer"
license=("GPL3")
depends=("yad" "mpv")
makedepends=("git")
source=("${pkgname}::git+https://github.com/ByCh4n-Group/Linux-Video-Viewer.git")
sha256sums=("SKIP")

pkgver() {
    cd "$pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)"  "$(git rev-parse --short HEAD)"
}

package() {
    cd "$pkgname"
    install -Dm755 "Linux Video Viewer.sh" "$pkgdir/usr/bin/lvv"
}