blob: c0a93ff6e2b01bb500c7c1ebd79038fc20690a4e (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Luke Street <luke.street@encounterpc.com>
pkgname=gnome-shell-extension-gamemode-git
pkgver=12.0.r2.g4ef8d2e
pkgrel=1
pkgdesc="GameMode Status Indicator for GNOME Shell"
arch=('any')
url="https://github.com/trsnaqe/gamemode-shell-extension"
license=('LGPL-2.1-or-later')
depends=(
'gamemode'
'gnome-shell'
)
makedepends=(
'git'
'meson'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/trsnaqe/gamemode-shell-extension.git')
sha256sums=('SKIP')
pkgver() {
cd gamemode-shell-extension
git describe --long --tags --abbrev=7 | sed 's/^V//;s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson gamemode-shell-extension build
meson compile -C build
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"
}
|