summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05c2fad21f022d9aa8cfa1461709230c5b685134 (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
28
# Maintainer: Mazhar Hussain <realmazharhussain@gmail.com>
# Contributor: Mark Wagie <mark dot wagie at proton dot me>
pkgname=daikhan
pkgver=0.1_alpha3
_pkgver=${pkgver/_/-}
pkgrel=1
pkgdesc="A media player for the modern desktop"
arch=('x86_64')
url="https://gitlab.com/daikhan/daikhan"
license=('GPL-3.0-or-later')
depends=('gst-plugin-gtk4' 'libadwaita' 'xxhash')
makedepends=('blueprint-compiler' 'meson' 'vala')
checkdepends=('appstream')
source=("https://gitlab.com/daikhan/$pkgname/-/archive/$_pkgver/$pkgname-$_pkgver.tar.bz2")
sha256sums=('80f760d2de03027e5b7456ec376ec12e91c4128ec6ff13f292c3f719852b95a3')

build() {
  arch-meson -Dprofile=stable "$pkgname-$_pkgver" build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir "$pkgdir"
}