summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: caa4be62f132eb143dc53294a080a866f31c040c (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
# Maintainer: crimist <aur at crim dot ist>
# Contributor: skrewball <aur at joickle dot com>

pkgname=gnome-shell-extension-color-picker
_pkgbase=tuberry-color-picker
pkgver=43
_commit=ce661a3
_sass_commit=adeed6c9b448521bf044bb153f0f29dc950c33ea
pkgrel=2
pkgdesc='Simple color picker for Gnome Shell'
arch=(any)
url='https://github.com/tuberry/color-picker'
license=('GPL3')
depends=('dconf' 'gnome-shell')
makedepends=('meson' 'sassc')
source=("${_pkgbase}-${_commit}.tar.gz::${url}/tarball/${_commit}"
        "gnome-shell-sass-${_sass_commit}.tar::https://gitlab.gnome.org/GNOME/gnome-shell-sass/-/archive/${_sass_commit}/.tar")
sha256sums=('58a5b2a4f1699171b5e20432daa8d3688e5d3f52a6b57eacf24a823aece46a10'
            'a7ce4d4aec881a2f5505f13506eb5139f1ab3cc1192be916c8ad59686c3b6919')

prepare() {
  cp -r gnome-shell-sass-${_sass_commit}/. ${_pkgbase}-${_commit}/res/style/gnome-shell-sass
}

build() {
  arch-meson $_pkgbase-$_commit build --reconfigure -Dversion=${pkgver} -Dtarget=system
}

package() {
  meson install -C build --destdir "$pkgdir"
}