blob: b0815880d2f3aab033daf00c2b12338fa8fc7ed9 (
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
|
# $Id$
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Phillip Schichtel <phillip@schich.tel>
pkgname=adapta-gtk-theme-wal
pkgver=3.93.0.1
pkgrel=1
pkgdesc='An adaptive Gtk+ theme based on Material Design Guidelines'
arch=('any')
url='https://github.com/adapta-project/adapta-gtk-theme'
license=('CCPL' 'GPL2')
makedepends=('git' 'gnome-shell' 'inkscape' 'libxml2' 'parallel' 'sassc')
optdepends=('gtk-engine-murrine: for gtk2 themes'
'noto-fonts: Recommended font'
'ttf-roboto: Recommended font')
source=(
"git+https://github.com/adapta-project/adapta-gtk-theme.git#tag=${pkgver}"
"colors.sh"
)
sha256sums=(
'SKIP'
'SKIP'
)
provides=('adapta-gtk-theme')
conflicts=('adapta-gtk-theme')
build() {
cd adapta-gtk-theme
source "../colors.sh"
./autogen.sh \
--prefix='/usr' \
--enable-parallel \
--enable-plank \
--enable-telegram \
--disable-unity \
--enable-gtk_next \
--with-selection_color="$color4" \
--with-accent_color="$color6" \
--with-suggestion_color="$color5" \
--with-destruction_color="$color2"
make
}
package() {
cd adapta-gtk-theme
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/share/plank/themes
ln -s /usr/share/themes/Adapta/plank "${pkgdir}"/usr/share/plank/themes/Adapta
install -Dm 644 LICENSE_CC_BY_SA4 -t "${pkgdir}"/usr/share/licenses/adapta-gtk-theme/
}
# vim: ts=2 sw=2 et:
|