diff options
Diffstat (limited to 'community/gnome-tweaks/APKBUILD')
-rw-r--r-- | community/gnome-tweaks/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/gnome-tweaks/APKBUILD b/community/gnome-tweaks/APKBUILD new file mode 100644 index 0000000000..4d14baec15 --- /dev/null +++ b/community/gnome-tweaks/APKBUILD @@ -0,0 +1,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 !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" +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" |