aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-shell-extensions/APKBUILD
blob: c75816aa480e5e385a90587f538383aaf4bba32f (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.36.0
pkgrel=1
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=plain \
		-Dextension_set=all \
		-Dclassic_mode=true \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="65028d2e8091458c967abf36ac1fe5199dbfa5387678f81e1482cf1b526e5a6c63515b578c573f53eb60c1f7a1d17eff80da1e37a621eff875009f49f4459d26  gnome-shell-extensions-3.36.0.tar.xz"