blob: 99da373543b4523d2e011d579b6f350b9833f43e (
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
|
# Maintainer: CorvetteCole <aur@corvettecole.com>
pkgname=plata-theme-osd-match
pkgver=0.9.9
pkgrel=1
pkgdesc='A Gtk+ theme based on Material Design Refresh (modified so the volume OSD matches the set accent color)'
arch=('any')
url='https://gitlab.com/CorvetteCole/plata-theme'
license=('CCPL' 'GPL2')
makedepends=('git' 'inkscape' 'libxml2' 'parallel' 'sassc' 'zip')
optdepends=('gtk-engine-murrine: for gtk2 themes'
'ttf-roboto: Recommended font'
'marco: Mate support, a package rebuilt is required')
provides=('plata-theme')
conflicts=('plata-theme')
source=("git+https://gitlab.com/CorvetteCole/plata-theme.git#tag=${pkgver}")
sha256sums=('SKIP')
build() {
# Dirty hack for aur:
# mate support will be built only if marco is present
if LC_ALL=C pacman -Qq marco > /dev/null 2>&1
then
MARCO_FLAGS=""
else
MARCO_FLAGS="--disable-mate"
fi
cd "plata-theme"
./autogen.sh \
--prefix='/usr' \
--enable-parallel \
--enable-plank \
--enable-telegram \
"$MARCO_FLAGS"
make -j1 # it uses GNU Parallel instead
}
package() {
cd "plata-theme"
make DESTDIR="$pkgdir" install
install -dm 755 "$pkgdir"/usr/share/plank/themes
ln -s /usr/share/themes/Plata/plank "$pkgdir"/usr/share/plank/themes/Plata
install -Dm 644 LICENSE_CC_BY_SA4 -t "$pkgdir"/usr/share/licenses/"$pkgname"/
}
# vim: ts=2 sw=2 et:
|