diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 14 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = oomox-git pkgdesc = Themix: GUI for generating different color variations of Arc, Materia, Oomox themes (GTK2, GTK3, Cinnamon, GNOME, MATE, Openbox, Xfwm), ArchDroid, Gnome-Colors, Numix icon themes, and terminal palettes. Have a hack for HiDPI in GTK2. pkgver = 1.9.0.2.r85.g1b8e948c - pkgrel = 1 + pkgrel = 2 url = https://github.com/themix-project/oomox arch = x86_64 arch = i686 @@ -3,7 +3,7 @@ pkgname=oomox-git pkgver=1.9.0.2.r85.g1b8e948c -pkgrel=1 +pkgrel=2 pkgdesc="Themix: GUI for generating different color variations of Arc, Materia, Oomox themes (GTK2, GTK3, Cinnamon, GNOME, MATE, Openbox, Xfwm), @@ -87,6 +87,18 @@ pkgver() { prepare(){ cd "${srcdir}/oomox" + + # remove submodule if building package update without flushing the dir: + git submodule deinit --all || true + git config --get-regexp submodule | cut -d' ' -f1 | xargs -n1 git config --unset || true + old_paths=( + "$srcdir"/oomox/plugins/import_base16/base16-data + ) + for path in "${old_paths[@]}" ; do + rm -fr "${path}" + done + + # use already downloaded by makepkg git repos as submodules of the main: git submodule init git config submodule.gtk-theme.url $srcdir/oomox-gtk-theme git config submodule.materia-theme.url $srcdir/materia-theme |