summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aa3846d4688
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Frechdachs
+
+_pkgname=mpvqc-gtk
+pkgname=${_pkgname}-git
+pkgver=v0.9.0.g224c0ba
+pkgrel=1
+pkgdesc="mpvQC is a libmpv based application for the creation of quality control reports of video files. (GTK version)"
+arch=('any')
+url="https://github.com/mpvqc/mpvQC-gtk"
+license=('AGPL3')
+depends=('mpv'
+ 'python'
+ 'python-opengl'
+ 'python-gobject'
+ )
+makedepends=('git'
+ 'meson'
+ )
+provides=("$_pkgname" "mpvqc")
+conflicts=("$_pkgname" "mpvqc")
+source=("$_pkgname::git+https://github.com/mpvqc/mpvQC-gtk.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ echo "$(git describe --long --tags | tr - .)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ arch-meson build $_pkgname
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+
+ cd "$_pkgname"
+ install -Dm644 Readme.md "$pkgdir/usr/share/doc/$_pkgname/Readme.md"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING"
+}