summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4297a333d7f6bed3904a5d89014ce1faebbc8f77 (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
# Maintainer: Marko Givens <marcxjo@cerebralbleach.com>

pkgname=gnome-shell-extension-extension-list
_pkgname=extension-list
pkgver=46.1
pkgrel=1
pkgdesc="A Simple GNOME Shell extension manager in the top panel"
arch=('any')
url="https://github.com/tuberry/extension-list"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git' 'meson' 'sassc')
provides=('gnome-shell-extension-extension-list')
conflicts=('gnome-shell-extension-extension-list-git')
source=("$_pkgname::git+$url#tag=$pkgver")
sha256sums=('SKIP')

pkgver() {
  cd "${_pkgname}"

  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}

build() {
  cd "$srcdir/$_pkgname"

  git submodule update --init --recursive

  meson setup build -Dtarget=system -Dversion=46 --prefix=/usr
}

package() {
  cd "$srcdir/$_pkgname"

  meson install -C build --destdir "$pkgdir"
}