summaryrefslogtreecommitdiff
path: root/scripts/makepkg
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-23 23:01:16 +0800
committerruki <[email protected]>2022-12-23 12:10:15 +0800
commitd46b367e720781995c699d7ecdd0a00cbf780266 (patch)
tree046dbcd73d712e75bce0358d32a48f9a3eaa19e4 /scripts/makepkg
parent9a1bd4627bc2cbbffc01341a3f4e6671c3bb126b (diff)
update scripts
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-xscripts/makepkg5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/makepkg b/scripts/makepkg
index 1967694d8..1aa62079e 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -48,12 +48,13 @@ if [ `uname` == "Darwin" ]; then
fi
# build first
-make build
+./configure
+make
# make dep package using fpm
fpm -s dir -t $target -n xmake -v $version -m "<[email protected]>" --description "A cross-platform build utility based on Lua" --url "xmake.io" --license Apache \
xmake=/usr/local/share/ \
- core/src/demo/demo.b=/usr/local/bin/xmake \
+ build/xmake=/usr/local/bin/xmake \
scripts/xrepo.sh=/usr/local/bin/xrepo
if [ "$target" == "osxpkg" ]; then
mv "xmake-$version.pkg" "$artifactsdir/xmake.pkg"