blob: 3e9bacfc36436dd86837d09eb2f130774452535b (
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
# Maintainer: Dario Zarcone <dariozarcone at gmail dot com>
pkgname=('material-gtk-theme-git'
'material-gtk-theme-deepocean-git'
'material-gtk-theme-palenight-git'
'material-icon-theme-git'
'material-icon-theme-deepocean-git'
'material-icon-theme-palenight-git')
_reponame='Material-GTK-Themes'
pkgver=r38.4d828d5d
pkgrel=1
pkgdesc='Material gtk themes'
arch=("any")
url="https://github.com/Fausto-Korpsvart/${_reponame}"
license=("GPL3")
makedepends=("git")
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${_reponame}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package_material-gtk-theme-git() {
conflicts=('material-gtk-theme-deepocean-git' 'material-gtk-theme-palenight-git')
depends=("gnome-themes-extra")
optdepends=("gtk-engine-murrine")
dist="${pkgdir}/usr/share/themes"
mkdir -p "${dist}"
cd "${_reponame}"
# docs
install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md
cp -r themes/Material-DeepOcean-B "${dist}/Material-DeepOcean-Border"
cp -r themes/Material-DeepOcean-BL "${dist}/Material-DeepOcean-Borderless"
cp -r themes/Material-DeepOcean-B-LB "${dist}/Material-DeepOcean-Border-LegacyButtons"
cp -r themes/Material-DeepOcean-BL-LB "${dist}/Material-DeepOcean-Borderless-LegacyButtons"
cp -r themes/Material-Palenight-B "${dist}/Material-Palenight-Border"
cp -r themes/Material-Palenight-BL "${dist}/Material-Palenight-Borderless"
cp -r themes/Material-Palenight-B-LB "${dist}/Material-Palenight-Border-LegacyButtons"
cp -r themes/Material-Palenight-BL-LB "${dist}/Material-Palenight-Borderless-LegacyButtons"
}
package_material-gtk-theme-deepocean-git() {
conflicts=('material-gtk-theme-git')
depends=("gnome-themes-extra")
optdepends=("gtk-engine-murrine")
dist="${pkgdir}/usr/share/themes"
mkdir -p "${dist}"
cd "${_reponame}"
# docs
install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md
cp -r themes/Material-DeepOcean-B "${dist}/Material-DeepOcean-Border"
cp -r themes/Material-DeepOcean-BL "${dist}/Material-DeepOcean-Borderless"
cp -r themes/Material-DeepOcean-B-LB "${dist}/Material-DeepOcean-Border-LegacyButtons"
cp -r themes/Material-DeepOcean-BL-LB "${dist}/Material-DeepOcean-Borderless-LegacyButtons"
}
package_material-gtk-theme-palenight-git() {
conflicts=('material-gtk-theme-git')
depends=("gnome-themes-extra")
optdepends=("gtk-engine-murrine")
dist="${pkgdir}/usr/share/themes"
mkdir -p "${dist}"
cd "${_reponame}"
# docs
install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md
cp -r themes/Material-Palenight-B "${dist}/Material-Palenight-Border"
cp -r themes/Material-Palenight-BL "${dist}/Material-Palenight-Borderless"
cp -r themes/Material-Palenight-B-LB "${dist}/Material-Palenight-Border-LegacyButtons"
cp -r themes/Material-Palenight-BL-LB "${dist}/Material-Palenight-Borderless-LegacyButtons"
}
package_material-icon-theme-git() {
conflicts=('material-icon-theme-deepocean-git' 'material-icon-theme-palenight-git')
depends=('gtk-update-icon-cache')
dist="${pkgdir}/usr/share/icons"
mkdir -p "${dist}"
cd "${_reponame}"
# docs
install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md
cp -r icons/DeepOcean2 "${dist}/Material-DeepOcean"
cp -r icons/Palenight "${dist}/Material-Palenight"
}
package_material-icon-theme-deepocean-git() {
conflicts=('material-icon-theme-git')
depends=('gtk-update-icon-cache')
dist="${pkgdir}/usr/share/icons"
mkdir -p "${dist}"
cd "${_reponame}"
# docs
install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md
cp -r icons/DeepOcean2 "${dist}/Material-DeepOcean"
}
package_material-icon-theme-palenight-git() {
conflicts=('material-icon-theme-git')
depends=('gtk-update-icon-cache')
dist="${pkgdir}/usr/share/icons"
mkdir -p "${dist}"
cd "${_reponame}"
# docs
install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md
cp -r icons/Palenight "${dist}/Material-Palenight"
}
|