aboutsummaryrefslogtreecommitdiff
path: root/python/python3-maturin/mkvendored.sh
blob: 252d469ea9ecb600a8b958c7270ae9b2c3dfc0d1 (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-$BUILD.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