summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5fb75de814b9bf619205baf2ca7ee0a16ba1f43 (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
36
37
38
39
40
# Maintainer: Taijian <taijian@posteo.de>
# Contributor: Surefire <surefire at cryptomile dot net>
# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
# Contributor: Dave Kleinschmidt <dave.f.kleinschmidt at gmail dot com>
# Contributor: Frikilinux <frikilinux at gmail dot com>

pkgname=gnome-shell-extension-appindicator-git
pkgver=59+2+g557dbdd
pkgrel=1
epoch=1
pkgdesc='AppIndicator/KStatusNotifierItem support for GNOME Shell'
url='https://github.com/ubuntu/gnome-shell-extension-appindicator'
license=('GPL-2.0-or-later')
arch=('any')
conflicts=(${pkgname%-git})
provides=(${pkgname%-git})
depends=('gnome-shell>=3.34')
makedepends=(
  'git'
  'jq'
  'meson'
)
source=("${pkgname}::git+${url}.git")
sha512sums=('SKIP')

pkgver() {
	cd "${pkgname}"
	git describe --long --tags | sed 's/^v//; s/-/+/g'
}

build() {
	arch-meson "${pkgname}" build -Dlocal_install=disabled
	meson compile -C build
}

package() {
	meson install -C build --destdir="${pkgdir}"
	# this file is generated at pkg install time
	rm "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled"
}