aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-shell-extensions/APKBUILD
blob: 9a5de4e9580e6b4ab16142c947c005d483920476 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-shell-extensions
pkgver=3.32.1
pkgrel=0
pkgdesc="A collection of extensions for GNOME Shell"
url="https://wiki.gnome.org/Projects/GnomeShell/Extensions"
arch="noarch"
license="GPL-2.0-or-later"
makedepends="meson sassc mozjs60-dev gettext-dev"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-shell-extensions/${pkgver%.*}/gnome-shell-extensions-${pkgver}.tar.xz"

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

check() {
	ninja -C output test
}

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

sha512sums="e587a17eace87e05211bd4a0b8101a731054c99ba708051f6549c5e19974ccfeff75b0802d190d327f5ee8b4595c20e747d492f82c86aa76e0fc1cf3d20f0e4e  gnome-shell-extensions-3.32.1.tar.xz"