aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-shell-extensions/APKBUILD
blob: 2c301aaf57d92aab027eebe089ca872d7fcd01bc (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.34.2
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="1611115fbedc2f8708b5596b5c44092e5df6666d43596d7a87ec32ee5f83e9e39d2453cffef0e3445f63e811d21ce20f5587a5a27e0fde280d9715d5cc7dc290  gnome-shell-extensions-3.34.2.tar.xz"