aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-tweaks/APKBUILD
blob: d17d257b18cedaa089abaa7f86cff0b0486c8c0f (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-tweaks
pkgver=3.32.0
pkgrel=0
pkgdesc="GNOME3 tool to customize advanced options"
url="https://wiki.gnome.org/Apps/Tweaks"
arch="noarch !ppc64le !s390x" # mutter is missing
license="GPL-3.0-or-later CC0-1.0"
depends="gtk+3.0 dconf gnome-settings-daemon mutter libnotify py3-gobject3"
makedepends="meson gettext-dev"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-tweaks/${pkgver%.*}/gnome-tweaks-${pkgver}.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="8107e9d2b33ac6c46e8d0076b27a1c3a84e1721e49a6b80da28fe854f6f4f6693bc7f7e836c54d39bafec79dcee8a6e2b2962580a77d7d01bfc06c6d11206d8f  gnome-tweaks-3.32.0.tar.xz"