From 84ecc5932717fd659b34167e5fb066b44bce7b1a Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Wed, 20 Mar 2019 15:04:15 +0100 Subject: [PATCH] Add Cave Store to index --- index/index.xml | 7 +++++-- runtimes/cave_story/cave_story-en/Tupfile | 9 ++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/index/index.xml b/index/index.xml index db35caa..55c1743 100644 --- a/index/index.xml +++ b/index/index.xml @@ -10,7 +10,9 @@ - + + + @@ -27,7 +29,8 @@ - + + diff --git a/runtimes/cave_story/cave_story-en/Tupfile b/runtimes/cave_story/cave_story-en/Tupfile index 4b9cc77..fcc7a0a 100644 --- a/runtimes/cave_story/cave_story-en/Tupfile +++ b/runtimes/cave_story/cave_story-en/Tupfile @@ -2,8 +2,15 @@ include_rules : |> wget --quiet https://www.cavestory.org/downloads/%o |> cavestoryen.zip {zip} +VERSION = 2004.12 + : {zip} \ |> unzip -D %f -d tmp ; tar cf %o -C tmp/CaveStory . ; rm -r tmp \ - |> $(DEPOT_RAW_DIR)/%d/2004.12/doukutsu.tar {raw} + |> $(DEPOT_RAW_DIR)/%d/$(VERSION)/doukutsu.tar {raw} + +!publish_raw = |> ^o publish %d raw^ \ + tar cfJ %o -C $(DEPOT_RAW_DIR)/%d . ; $(SIGN_CMD) < %o > %o.sig \ +|> $(PUBLIC_RAW_DIR)/%d/$(VERSION).tar.xz \ +| $(PUBLIC_RAW_DIR)/%d/$(VERSION).tar.xz.sig : {raw} |> !publish_raw |>