summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a031111ad42a5ba7887ba1e4f135699f6eca3e5f (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
# 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"
}