summaryrefslogtreecommitdiff
path: root/community/gnome-browser-connector/APKBUILD
blob: ecae977df1c05d57231fc14df860c40ff808a86c (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: knuxify <knuxify@gmail.com>
# Maintainer: knuxify <knuxify@gmail.com>
pkgname=gnome-browser-connector
pkgver=42.0
pkgrel=0
pkgdesc="OS-native connector for the GNOME browser extension"
url="https://wiki.gnome.org/action/show/Projects/GnomeShellIntegration"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 py3-gobject3"
makedepends="meson"
source="https://gitlab.gnome.org/nE0sIghT/gnome-browser-connector/-/archive/v$pkgver/gnome-browser-connector-v$pkgver.tar.gz"
builddir="$srcdir/gnome-browser-connector-v$pkgver"
options="!check" # no test suite

replaces="chrome-gnome-shell"
provides="chrome-gnome-shell=$pkgver-r$pkgrel"

build() {
	abuild-meson \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
8679349245bd8f5a29367316fb3cdbd13b4d5f3ed7c8adfc4d83973f86e15de8a1155dda1b155e20ed1a5dccdc7fbbbe22e0c454fcb15fd6cc073ce63ec4c59e  gnome-browser-connector-v42.0.tar.gz
"