blob: a9078c8ac4f070510ef1a65367402acafc44e39b (
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
|
# Maintainer: theferdi265 at gmail dot com
pkgname=gtk-theme-numix-solarized-git
pkgver=20230305.2c5a85b
pkgrel=1
pkgdesc="Solarized versions of Numix GTK2 and GTK3 theme, compatible with GTK 3.20"
arch=('any')
url="https://github.com/Ferdi265/numix-solarized-gtk-theme"
license=('GPL3')
conflicts=('gtk-theme-numix-solarized')
depends=('gtk-engine-murrine')
makedepends=('git' 'make' 'sassc' 'glib2' 'inkscape' 'optipng')
source=('git+https://github.com/Ferdi265/numix-solarized-gtk-theme.git')
md5sums=('SKIP')
pkgver() {
cd "numix-solarized-gtk-theme"
local date=$(date --date "$(git show -s --format=%ci)" +%Y%m%d)
local commit=$(git rev-parse --short HEAD)
echo $date.$commit
}
package() {
cd "numix-solarized-gtk-theme"
pushd colors >/dev/null
themes=( *.colors )
popd >/dev/null
for theme in ${themes[@]/.colors/}; do
make -j1 THEME="$theme" DESTDIR="$pkgdir" install
done
}
|