Skip to content

Commit

Permalink
chore(plugins: theme: oomox): packaging stuff moved to its own repo (…
Browse files Browse the repository at this point in the history
…re: #129)
  • Loading branch information
actionless committed Mar 16, 2020
1 parent 12e6230 commit 1570f31
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 13,990 deletions.
7 changes: 3 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "gtk-theme"]
path = plugins/theme_oomox/gtk-theme
url = https://github.com/themix-project/oomox-gtk-theme.git
[submodule "materia-theme"]
path = plugins/theme_materia/materia-theme
url = https://github.com/nana-4/materia-theme.git
Expand All @@ -16,7 +13,6 @@
[submodule "arc-theme"]
path = plugins/theme_arc/arc-theme
url = https://github.com/NicoHood/arc-theme.git
branch = oomox
[submodule "numix-icon-theme"]
path = plugins/icons_numix/numix-icon-theme
url = https://github.com/numixproject/numix-icon-theme.git
Expand All @@ -35,3 +31,6 @@
[submodule "suru-plus-aspromauros"]
path = plugins/icons_suruplus_aspromauros/suru-plus-aspromauros
url = https://github.com/gusbemacbe/suru-plus-aspromauros.git
[submodule "theme_oomox"]
path = plugins/theme_oomox
url = https://github.com/themix-project/oomox-gtk-theme.git
23 changes: 1 addition & 22 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,7 @@ install_theme_arc:

install_theme_oomox:
$(eval PLUGIN_NAME := "theme_oomox")
$(eval CLI_NAME := "oomox-cli")
$(eval PACKAGING_TMP_DIR := $(shell mktemp -d))

cp -prf \
packaging/ \
$(PACKAGING_TMP_DIR)/
sed -i -e 's|/opt/oomox/|$(APPDIR)/|g' $(PACKAGING_TMP_DIR)/packaging/bin/*
chmod a+x "$(PACKAGING_TMP_DIR)/packaging/bin/"*
install -d $(DEST_PREFIX)/bin/
install -Dp -m 755 "$(PACKAGING_TMP_DIR)/packaging/bin/$(CLI_NAME)" "$(DEST_PREFIX)/bin/"

mkdir -p $(DEST_PLUGIN_DIR)
cp -prf \
plugins/$(PLUGIN_NAME) \
$(DEST_PLUGIN_DIR)/
$(RM) -r "$(DEST_PLUGIN_DIR)/$(PLUGIN_NAME)/gtk-theme/".editorconfig
$(RM) -r "$(DEST_PLUGIN_DIR)/$(PLUGIN_NAME)/gtk-theme/".*.yml
$(RM) -r "$(DEST_PLUGIN_DIR)/$(PLUGIN_NAME)/gtk-theme/"{D,d}ocker*
$(RM) -r "$(DEST_PLUGIN_DIR)/$(PLUGIN_NAME)/gtk-theme/"maintenance*
$(RM) -r "$(DEST_PLUGIN_DIR)/$(PLUGIN_NAME)/gtk-theme/"screenshot*
$(RM) -r "$(DEST_PLUGIN_DIR)/$(PLUGIN_NAME)/gtk-theme/"test*
$(RM) -r "$(DEST_PLUGIN_DIR)/$(PLUGIN_NAME)"/*/.git*
make -C plugins/$(PLUGIN_NAME) -f Makefile_oomox_plugin DESTDIR=$(DESTDIR) APPDIR=$(APPDIR) PREFIX=$(PREFIX) install


install_theme_materia:
Expand Down
2 changes: 1 addition & 1 deletion packaging/arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ prepare(){

# 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.theme_oomox.url $srcdir/oomox-gtk-theme
git config submodule.materia-theme.url $srcdir/materia-theme
git config submodule.arc-theme.url $srcdir/arc-theme
git config submodule.archdroid-icon-theme.url $srcdir/archdroid-icon-theme
Expand Down
72 changes: 0 additions & 72 deletions packaging/arch/PKGBUILD_theme_oomox

This file was deleted.

3 changes: 0 additions & 3 deletions packaging/bin/oomox-cli

This file was deleted.

1 change: 1 addition & 0 deletions plugins/theme_oomox
Submodule theme_oomox added at 206580
1 change: 0 additions & 1 deletion plugins/theme_oomox/gtk-theme
Submodule gtk-theme deleted from 0143d5

This file was deleted.

Loading

0 comments on commit 1570f31

Please sign in to comment.