From 3ab6aefe056dfcbb08bed2d284202dce3248874b Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sat, 27 Feb 2021 22:43:02 +1300 Subject: [PATCH] pkg(common): build pkg-info.json --- packages/common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common.mk b/packages/common.mk index 4f69da6..a481c3a 100644 --- a/packages/common.mk +++ b/packages/common.mk @@ -6,7 +6,7 @@ BIN_DIR=${BUILD_DIR}${PKG_SLUG}/ RUN_FILE=${BUILD_DIR}run COMPILE_FILE=${BUILD_DIR}compile ENV_FILE=${BIN_DIR}environment -INFO_FILE=${BUILD_DIR}pkg-info.jq +INFO_FILE=${BUILD_DIR}pkg-info.json PREFIX=/piston/packages/${NAME}/${VERSION}/${PKG_SLUG} PKG_FILE=${PKG_SLUG}.pkg.tar.gz @@ -53,7 +53,7 @@ endif ${PKG_FILE}: ${PKG_TARGETS} tar -czC ${BUILD_DIR} -f $@ ${patsubst ${BUILD_DIR}%,%,$?} -${INFO_FILE}: +$(patsubst %.json,%.jq,${INFO_FILE}): echo '.language="${NAME}"' > $@ echo '.version="${VERSION}"' >> $@ echo '.author="${AUTHOR}"' >> $@