summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 932c84c83cc621a6bfe1154cb096ce7068f2fef7 (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
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=gnome-tweaks-git
pkgver=3.31.3.r4.g99e06eb
pkgrel=1
pkgdesc="Graphical interface for advanced GNOME 3 settings (Tweak Tool)"
url="https://wiki.gnome.org/Apps/Tweaks"
arch=(any)
license=(GPL)
depends=(gnome-settings-daemon python-gobject)
makedepends=(git meson)
groups=(gnome-extra)
provides=(gnome-tweaks)
conflicts=(gnome-tweaks)
source=("git+https://gitlab.gnome.org/GNOME/gnome-tweaks.git")
sha256sums=('SKIP')

pkgver() {
  cd gnome-tweaks
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson gnome-tweaks build
  ninja -C build
}

check() {
  meson test -C build
}

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