blob: 90a197b39270b4c25c31da3c7b28defa54cea1f5 (
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
41
42
43
44
45
|
pkgname=pocillo-gtk-theme-git
pkgver=0.9.r0.g7a12511c
pkgrel=1
pkgdesc='Theme for the Budgie Desktop that has Material Design elements and styled using the Arc colour palette'
arch=('any')
url=https://github.com/UbuntuBudgie/pocillo-gtk-theme
license=(GPL2)
depends=(gtk-engine-murrine gnome-themes-extra)
makedepends=(meson dart-sass git)
optdepends=('budgie-desktop: The Budgie desktop')
provides=(pocillo-gtk-theme)
conflicts=(pocillo-gtk-theme)
source=("${pkgname}::git+${url}" meson-fixes.patch)
b2sums=('SKIP'
'21964b269b34ac7c601cdc098d2d9be9e8d98685385d5bad5c80c231ea2edee5969fc9d17df4fa72e617d8dc3402cc1b21b01668c30a35dcf905c1a41d224acd')
pkgver() {
cd "${pkgname}"
(
set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
prepare() {
cd "${pkgname}"
patch -p1 < "${srcdir}/meson-fixes.patch"
}
build() {
arch-meson \
-Ddocumentation=true \
-Dflatpak=false \
-Dgtk4_version=4.6 \
-Dgnome_shell_version=42 \
-Dcolors=default,light,dark \
-Dsizes=default,slim \
_build "${pkgname}"
meson compile -C _build
}
package() {
meson install -C _build --destdir="${pkgdir}"
}
|