blob: 56971c73006b5f7c88ad1ea407db857c61c72433 (
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
|
# Contrubutor: Nick Boughton <nicholasboughton at gmail dot com>
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=whitesur-gtk-theme-nord-git
pkgver=2022.02.21.r7.g16a845f
pkgrel=2
pkgdesc="MacOS Big Sur like theme for GNOME desktops, but just the nord colourscheme"
arch=('any')
url="https://github.com/vinceliuice/WhiteSur-gtk-theme"
license=('GPL')
makedepends=('git' 'sassc')
optdepends=('gtk-engine-murrine: GTK2 theme support'
'gtk-engines: GTK2 theme support'
'whitesur-icon-theme-git: matching icon theme'
'whitesur-cursor-theme-git: matching cursor theme'
'whitesur-kvantum-theme: matching Kvantum theme'
'gnome-shell-extension-dash-to-dock: recommended GNOME extension'
'gnome-shell-extension-blur-my-shell: recommended GNOME extension')
provides=("${pkgname%}")
conflicts=()
install="whitesur-gtk-theme-nord.install"
options=('!strip')
source=(git+$url.git)
b2sums=('SKIP')
pkgver() {
cd WhiteSur-gtk-theme
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd WhiteSur-gtk-theme
install -d "$pkgdir/usr/share/themes"
# See for more customization options:
# https://github.com/vinceliuice/WhiteSur-gtk-theme#theres-so-many-customizations-you-can-do
./install.sh \
--icon arch \
--theme all \
--nord \
--nautilus-style glassy \
--dest "$pkgdir/usr/share/themes"
# Plank theme
install -Dm644 src/other/plank/theme-dark/* -t \
"$pkgdir/usr/share/plank/themes/WhiteSur-dark-nord"
install -Dm644 src/other/plank/theme-light/* -t \
"$pkgdir/usr/share/plank/themes/WhiteSur-light-nord"
# Firefox theme
install -d "$pkgdir/usr/share/docs/$pkgname"
cp -r src/other/firefox "$pkgdir/usr/share/docs/$pkgname"
}
|