aboutsummaryrefslogtreecommitdiff
path: root/python/python3-maturin/mkvendored.sh
blob: c52093378e1970dfcf02bf706ced7d89c8519a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# This is a wrapper script for cargo-mkvendored.sh which is
# included in the cargo-vendor-filterer slackbuild and needs to be
# installed.  It is only needed if you are upgrading the version and
# need new vendored rust libs.
#
# create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz
# requires network access, but does not require root privilege.
# requires that $PRGNAM's REQUIRES need to be installed first

if [ -f /usr/bin/cargo-mkvendored.sh ]; then
  /usr/bin/cargo-mkvendored.sh
else
  echo " ERROR: cargo-mkvendored.sh script is not available!!
 ERROR: Install the cargo-vendor-filterer slackbuild."
fi