blob: 1a2e210441d378c656bbb56b10fa3d107fce1ccc (
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
|
# Maintainer: Julian Hornich <vivaeltopo@googlemail.com>
pkgname=gnome-shell-theme-viva-git
_pkgver=40.0
pkgver=40.0.163.94c9aa5
pkgrel=1
pkgdesc="A custom gnome-shell theme named viva (blue and orange version)"
arch=('any')
url="https://github.com/vivaeltopo/gnome-shell-theme-viva"
groups=('gnome-shell-extensions')
license=('GPL3')
depends=('gnome-shell>=3.36' 'adobe-source-sans-pro-fonts')
makedepends=('sassc')
source=('git+https://github.com/vivaeltopo/gnome-shell-theme-viva.git')
md5sums=('SKIP')
pkgver() {
cd $srcdir/gnome-shell-theme-viva
echo ${_pkgver}.$(git rev-list --count master).$(git rev-parse --short master)
}
package() {
# orange version
cd $srcdir/gnome-shell-theme-viva
make orange
make
mkdir -p ${pkgdir}/usr/share/themes/viva-orange
cp -r gnome-shell ${pkgdir}/usr/share/themes/viva-orange/
chmod -R 755 ${pkgdir}/usr/share/themes/viva-orange
# cleanup
cd ${pkgdir}/usr/share/themes/viva-orange/gnome-shell/
rm -rf gnome-classic.css *.scss styles
# blue version
cd $srcdir/gnome-shell-theme-viva
make blue
make
mkdir -p ${pkgdir}/usr/share/themes/viva-blue
cp -r gnome-shell ${pkgdir}/usr/share/themes/viva-blue/
chmod -R 755 ${pkgdir}/usr/share/themes/viva-blue
# cleanup
cd ${pkgdir}/usr/share/themes/viva-blue/gnome-shell/
rm -rf gnome-classic.css *.scss styles
}
|