summaryrefslogtreecommitdiffstats
path: root/pkg/module.rules
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-08-30 09:51:05 -0700
committerGitHub <[email protected]>2016-08-30 09:51:05 -0700
commita464833a790f44f061f9de42a88f64e49156d422 (patch)
tree4ae1aeeb0d1e98640efe55c5f9db94a329f0de9f /pkg/module.rules
parentaed230d055ce0e64dfc0a41e401a7a3e7e7fd7bb (diff)
LinGui: Add flatpak support (#231)
* LinGui: add --flatpak configure option For building a linux flatpak bundle * LinGui: add rules to build flatpak repo and bundles * LinGui: add flatpak compatible icon * LinGui: add flatpak compatible desktop file * LinGui: add flatpak appdata xml * pkg: disable building LinGui when creating cli flatpak * pkg: clean flatpak build cache when updating source package * pkg: fix source package build dependencies Fixes errors when the git ref being packaged changes and you have not manually deleted stage and pkg build directories.
Diffstat (limited to 'pkg/module.rules')
-rw-r--r--pkg/module.rules10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkg/module.rules b/pkg/module.rules
index 5ec109fd3..8bb7a81e5 100644
--- a/pkg/module.rules
+++ b/pkg/module.rules
@@ -13,13 +13,13 @@ pkg.clean:
$(RM.exe) -fr $(PKG.out/)
$(PKG.src.tar.bz2): | $(dir $(PKG.src.tar.bz2))
-$(PKG.src.tar.bz2): | $(STAGE.out.src/)
+$(PKG.src.tar.bz2): $(STAGE.out.src.dist/)
$(TAR.exe) cjf $@ -C $(STAGE.out.src/) $(PKG.basename)
-$(STAGE.out.src/):
- $(MKDIR.exe) -p $@
- $(GIT.exe) -C $(SRC/) archive --format=tar --prefix=$(PKG.basename)/ $(HB.repo.shorthash) | $(TAR.exe) -xC $@
- $(SRC/)scripts/repo-info.sh $(SRC/) $(GIT.exe) > $@/$(PKG.basename)/version.txt
+$(STAGE.out.src.dist/):
+ $(MKDIR.exe) -p $(STAGE.out.src/)
+ $(GIT.exe) -C $(SRC/) archive --format=tar --prefix=$(PKG.basename)/ $(HB.repo.shorthash) | $(TAR.exe) -xC $(STAGE.out.src/)
+ $(SRC/)scripts/repo-info.sh $(SRC/) $(GIT.exe) > $@/version.txt
$(PKG.src-contrib.tar.bz2):
$(TAR.exe) cjf $@ -C $(CONTRIB.download/) \