summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e1e6a0d4e7b74d23f93a8beb5655ab7e7b4f45d (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Maintainer: hamki <hamki.do2000@gmail.com>
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Maintainer: happy4pizza

pkgname=(
	nordic-theme
	nordic-standard-buttons-theme
	# nordic-polar-theme
	nordic-polar-standard-buttons-theme
	nordic-darker-theme
	nordic-darker-standard-buttons-theme
	nordic-bluish-accent-theme
	nordic-bluish-accent-standard-buttons-theme)
pkgver=2.2.0
pkgrel=1
pkgdesc="Nord-derived themes for GTK and other platforms"
arch=('any')
url="https://github.com/EliverLara/Nordic"
license=('GPL3')
source=(
	"nordic-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic.tar.xz"
	# "nordic-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-v40.tar.xz"
	"nordic-standard-buttons-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-standard-buttons.tar.xz"
	# "nordic-standard-buttons-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-standard-buttons-v40.tar.xz"
	# "nordic-polar-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-Polar.tar.xz"
	# "nordic-polar-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-Polar-v40.tar.xz"
	"nordic-polar-standard-buttons-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-Polar-standard-buttons.tar.xz"
	# "nordic-polar-standard-buttons-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-Polar-standard-buttons-v40.tar.xz"
	"nordic-darker-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-darker.tar.xz"
	# "nordic-darker-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-darker-v40.tar.xz"
	"nordic-darker-standard-buttons-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-darker-standard-buttons.tar.xz"
	# "nordic-darker-standard-buttons-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-darker-standard-buttons-v40.tar.xz"
	"nordic-bluish-accent-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-bluish-accent.tar.xz"
	# "nordic-bluish-accent-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/Nordic-bluish-accent-v40.tar.xz"
	"nordic-bluish-accent-standard-buttons-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/nordic-bluish-accent-standard-buttons.tar.xz"
	# "nordic-bluish-accent-standard-buttons-theme-$pkgver.tar.xz::$url/releases/download/v$pkgver/nordic-bluish-accent-standard-buttons-v40.tar.xz")
)
sha256sums=('d162d694e13bec518636b193fbe84ccea44da9a81a89015c6713f6b258ee36d5'
            'b49a731043d7a27ad1f447cf955a681be0e5a8bb41448fd9a470049b004bbf4e'
            'bcc7feec4627963d92b4ee61d4c7b600a5d2b1252db42f0e50d18c9be385951f'
            '49115292bfa15aaa9aea661c7468b48918708a6940e4b8058ac46f3dbb81c626'
            '44a196d5ff98ae1c434805a01ec4222fc926e3d0e39c593762250dd098c85231'
            '61d86268e6d20f349357262484fa3f4637764d2839d5ba096f2c5a1442c4f926'
            '6f5e504e4f11e222547bc1f6b355d169436822588ce440d263dad319016e80cb')

PURGE_TARGETS=('LICENSE' 'README.md')

_package() {
	local _name="$1"

	cd "$_name"
	install -d "$pkgdir/usr/share/themes/$_name/"
	cp -a --no-preserve=ownership . "$pkgdir/usr/share/themes/$_name/"
}

package_nordic-theme() {
	_package "Nordic"
}

package_nordic-standard-buttons-theme() {
	_package "Nordic-standard-buttons"
}

# package_nordic-polar-theme() {
# 	_package "Nordic-Polar"
# }

package_nordic-polar-standard-buttons-theme() {
	_package "Nordic-Polar-standard-buttons"
}

package_nordic-darker-theme() {
	_package "Nordic-darker"
}

package_nordic-darker-standard-buttons-theme() {
	_package "Nordic-darker-standard-buttons"
}

package_nordic-bluish-accent-theme() {
	_package "Nordic-bluish-accent"
}

package_nordic-bluish-accent-standard-buttons-theme() {
	_package "Nordic-bluish-accent-standard-buttons"
}