summaryrefslogtreecommitdiff
path: root/scripts/makepkg
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-27 00:09:42 +0800
committerruki <[email protected]>2020-11-27 00:09:42 +0800
commit096ff0808e531c8e0f15e8240b73158beca4a89b (patch)
tree12ca267596964cd02b54456e413b8180e25855ac /scripts/makepkg
parent886d70e51c93874f01b88d77a18fa3cca7874d58 (diff)
add xrepo to deb package
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 30cb91f8d..1967694d8 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -51,9 +51,10 @@ fi
make build
# make dep package using fpm
-fpm -s dir -t $target -n xmake -v $version -m "<[email protected]>" --description "A make-like build utility based on Lua" --url "xmake.io" --license Apache \
+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
+ core/src/demo/demo.b=/usr/local/bin/xmake \
+ scripts/xrepo.sh=/usr/local/bin/xrepo
if [ "$target" == "osxpkg" ]; then
mv "xmake-$version.pkg" "$artifactsdir/xmake.pkg"
elif [ "$target" == "deb" ]; then