aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-tweaks/APKBUILD
blob: ae4578153646631bebfc14978b9ba5bbd98403cf (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-tweaks
pkgver=3.34.0
pkgrel=3
pkgdesc="GNOME3 tool to customize advanced options"
url="https://wiki.gnome.org/Apps/Tweaks"
arch="noarch !s390x !armv7" # mutter is missing
license="GPL-3.0-or-later CC0-1.0"
depends="gtk+3.0 dconf gnome-settings-daemon mutter libnotify py3-gobject3
	libhandy"
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=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="1d2b21a31550d4b48afd02a9fcfb9844eacac7aa726ef624abcb40225af31da29b34e9032b3bb2943e5cb5f7553a6f931467d04bfbc2b026732e6bdcb86eb840  gnome-tweaks-3.34.0.tar.xz"