summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f79b73197a576436c51eacb859325e1af8bf3307 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Maintainer: 'Radiolin' <anton.osi2011@gmail.com>

pkgname=gnome-tuner-git
pkgver=0.1.4.r15.gc0c5398
pkgrel=2
pkgdesc="Tuner is the home for your additional system settings, components, applications, and whatever else you want!"
arch=(x86_64)
url="https://altlinux.space/alt-gnome/tuner"
license=(GPL-3.0-or-later)
depends=(
  libpeas-2
  libgee
  libadwaita
  gobject-introspection
  alt-panelmoded-git
)
makedepends=(
  blueprint-compiler
  glib2-devel
  meson
  vala
)
optdepends=(
  gnome-tuner-tweaks-git
  gnome-tuner-panel-git
)
options=(!debug)
source=(${pkgname%-git}::git+$url.git)
b2sums=('SKIP')

pkgver() {
  git -C ${pkgname%-git} describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}

build() {
  arch-meson ${pkgname%-git} build
  meson configure  build --no-pager
  meson compile -C build
}

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