blob: 268adf90eb6ea3a96245fff7737132a867ae90be (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
# Maintainer: Laurent Treguier <laurent@treguier.org>
_oomox_ver=1.7.0.5
_numix_ver=1.9.1
_materia_ver=20180922
_arc_cmt=f53f43a8b6faad762b01efe1f9958fd5afcb8dfb
_archdroid_ver=1.0.2
_gnome_colors_ver=5.5.3
_oomoxify_ver=1.0.1
_base16_cmt=d022b9daa5c233a08a8d3b94fd534a3041e3a8c1
pkgname=oomox
pkgver=${_oomox_ver}
pkgrel=2
pkgdesc='Graphical application for generating different color variations of Numix/Materia/Arc theme (GTK2, GTK3), gnome-colors and ArchDroid icon themes.
Have a hack for HiDPI in gtk2.'
arch=('i686' 'x86_64')
url='https://github.com/themix-project/oomox'
license=('GPL3')
depends=(
'coreutils'
'bash'
'bc'
'findutils'
'gdk-pixbuf2'
'glib2'
'gtk-engine-murrine'
'gtk-engines'
'gtk3'
'imagemagick'
'inkscape'
'librsvg'
'optipng'
'parallel'
'polkit'
'python-gobject'
'python-pillow'
'sassc'
'sed'
'zip'
)
optdepends=(
'xorg-xrdb: for the `xresources` theme'
'breeze-icons: more fallback icons'
'gksu: for applying Spotify theme from GUI without polkit'
)
options=(
'!strip'
)
provides=('oomox')
conflicts=('oomox-git')
source=(
"oomox-${_oomox_ver}.tar.gz::https://github.com/themix-project/oomox/archive/${_oomox_ver}.tar.gz"
"oomox-gtk-theme-${_numix_ver}.tar.gz::https://github.com/themix-project/oomox-gtk-theme/archive/${_numix_ver}.tar.gz"
"materia-theme-v${_materia_ver}.tar.gz::https://github.com/nana-4/materia-theme/archive/v${_materia_ver}.tar.gz"
"arc-theme-${_arc_cmt}.tar.gz::https://github.com/NicoHood/arc-theme/archive/${_arc_cmt}.tar.gz"
"archdroid-icon-theme-${_archdroid_ver}.tar.gz::https://github.com/themix-project/oomox-archdroid-icon-theme/archive/${_archdroid_ver}.tar.gz"
"gnome-colors-icon-theme-${_gnome_colors_ver}.tar.gz::https://github.com/themix-project/oomox-gnome-colors-icon-theme/archive/${_gnome_colors_ver}.tar.gz"
"oomoxify-${_oomoxify_ver}.tar.gz::https://github.com/themix-project/oomoxify/archive/${_oomoxify_ver}.tar.gz"
"base16-builder-${_base16_cmt}.tar.gz::https://github.com/base16-builder/base16-builder/archive/${_base16_cmt}.tar.gz"
)
md5sums=('52c161b93801870f2787a914222370e1'
'a9fdfe30b4ef19a591c943dfe5876eec'
'fc264476ff1b7a1763698e6c1892ca01'
'7aa69026025c86fd3d78265c280943be'
'cb669130685dcbf03a8f7f5738c71dc6'
'ae3250f1dce9505dbaa60d92dcb9a239'
'02f3cefaf6ce3b89b8a5cc6b8a7430b4'
'38fc51a55c798032266c03ee82461119')
prepare() {
cd ${srcdir}
cp -pr "${pkgname}-gtk-theme-${_numix_ver}"/* "${pkgname}-${_oomox_ver}/plugins/theme_oomox/gtk-theme"
cp -pr "materia-theme-${_materia_ver}"/* "${pkgname}-${_oomox_ver}/plugins/theme_materia/materia-theme"
cp -pr "arc-theme-${_arc_cmt}"/* "${pkgname}-${_oomox_ver}/plugins/theme_arc/arc-theme"
cp -pr "archdroid-icon-theme-${_archdroid_ver}"/* "${pkgname}-${_oomox_ver}/plugins/icons_archdroid/archdroid-icon-theme"
cp -pr "gnome-colors-icon-theme-${_gnome_colors_ver}"/* "${pkgname}-${_oomox_ver}/plugins/icons_gnomecolors/gnome-colors-icon-theme"
cp -pr "oomoxify-${_oomoxify_ver}"/* "${pkgname}-${_oomox_ver}/plugins/oomoxify"
cp -pr "base16-builder-${_base16_cmt}"/* "${pkgname}-${_oomox_ver}/plugins/import_base16/base16-data"
}
package() {
_oomox_dir="/opt/${pkgname}"
_oomox_gui_dir="${_oomox_dir}/oomox_gui"
cd "${srcdir}/${pkgname}-${_oomox_ver}"
make DESTDIR="${pkgdir}" APPDIR="${_oomox_dir}" PREFIX="/usr" install
python -O -m compileall "${pkgdir}/${_oomox_gui_dir}" -d "${_oomox_gui_dir}"
}
|