blob: 6811007486c5c9b299853cbd0543f48aa15f14f4 (
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
46
47
48
49
50
51
52
53
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=fluent-gtk-theme-git
pkgver=2025.04.17.r0.g76f8112
pkgrel=1
pkgdesc="Fluent design gtk theme for linux desktops"
arch=('any')
url="https://github.com/vinceliuice/Fluent-gtk-theme"
license=('GPL-3.0-or-later')
makedepends=(
'git'
'sassc'
'setconf'
)
optdepends=(
'fluent-cursor-theme: Matching cursor theme'
'fluent-icon-theme: Matching icon theme'
'gtk-engine-murrine: GTK2 theme support'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!strip')
install="${pkgname%-git}.install"
source=('git+https://github.com/vinceliuice/Fluent-gtk-theme.git'
'wallpaper::git+https://github.com/vinceliuice/Fluent-gtk-theme.git#branch=Wallpaper')
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd Fluent-gtk-theme
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd wallpaper
setconf install-gnome-backgrounds.sh BACKGROUND_DIR "$pkgdir/usr/share/backgrounds"
setconf install-gnome-backgrounds.sh PROPERTIES_DIR "$pkgdir/usr/share/gnome-background-properties"
setconf install-wallpapers.sh WALLPAPER_DIR "$pkgdir/usr/share/backgrounds"
}
package() {
cd Fluent-gtk-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all -d "$pkgdir/usr/share/themes"
# Round version
./install.sh -t all --tweaks round -d "$pkgdir/usr/share/themes"
# Wallpapers
cd "$srcdir/wallpaper"
install -d "$pkgdir"/usr/share/{backgrounds,gnome-background-properties}
./install-gnome-backgrounds.sh
./install-wallpapers.sh
}
|