db-move: moved webkit2gtk from [staging] to [testing] (x86_64)
[arch-packages.git] / gnome-tweaks / trunk / PKGBUILD
blobca148e3ac640c6a1fd5eba23fa61daaddd0a9fca
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=gnome-tweaks
5 pkgver=42beta+r14+g2d9d76c
6 pkgrel=3
7 pkgdesc="Graphical interface for advanced GNOME 3 settings (Tweak Tool)"
8 url="https://wiki.gnome.org/Apps/Tweaks"
9 arch=(any)
10 license=(GPL)
11 depends=(gnome-settings-daemon python-gobject libhandy)
12 makedepends=(git meson)
13 provides=("gnome-tweak-tool=$pkgver")
14 conflicts=(gnome-tweak-tool)
15 replaces=(gnome-tweak-tool)
16 groups=(gnome-extra)
17 _commit=2d9d76c614ba3f6464855aeb4193b100df66d95c  # master
18 source=("git+https://gitlab.gnome.org/GNOME/gnome-tweaks.git#commit=$_commit")
19 sha256sums=('SKIP')
21 pkgver() {
22   cd $pkgname
23   git describe --tags | sed 's/\.beta/beta/;s/[^-]*-g/r&/;s/-/+/g'
26 prepare() {
27   cd $pkgname
30 build() {
31   arch-meson $pkgname build
32   meson compile -C build
35 check() {
36   meson test -C build --print-errorlogs
39 package() {
40   meson install -C build --destdir "$pkgdir"