blob: 2eefeff5857bfadb26b8de5391b0a571ba76590a (
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
|
# Maintainer: theferdi265 at gmail dot com
pkgname=gtk-theme-numix-solarized-git
pkgver=20170810.d5c0152
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' 'ruby-sass' '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"
themes=( *.colors )
for theme in ${themes[@]/.colors/}; do
make THEME="$theme" DESTDIR="$pkgdir" install
done
}
|