summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a031111ad42
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=glide-player
+pkgver=0.5.6
+pkgrel=1
+pkgdesc="Simple and minimalistic media player relying on GStreamer for the multimedia support and GTK+ for the user interface"
+arch=(x86_64)
+url="https://github.com/philn/glide"
+license=(MIT)
+depends=(gst-plugins-bad gst-plugins-base gst-plugins-good gtk3)
+makedepends=(git meson rust)
+source=("https://github.com/philn/glide/releases/download/$pkgver/glide-$pkgver.tar.xz")
+sha256sums=('a031dd6c309a95154709990d27a94ec13eb064ec5b05f6ba0c74946d0501af53')
+
+build() {
+ arch-meson glide-$pkgver build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+ install -Dm644 glide-$pkgver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}