summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4aaa53caff14a538a676fba8403fd59ffa7f73c1 (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
# Maintainer: 'Radiolin' <anton.osi2011@gmail.com>

pkgname=gnome-tuner-panel-git
pkgver=0.1.2.r0.g2548435
pkgrel=1
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/tunerpanel"
license=(GPL-3.0-or-later)
depends=(
  libpeas-2
  libgee
  libadwaita
  gobject-introspection
)
makedepends=(
  blueprint-compiler
  glib2-devel
  meson
  vala
)
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"
}