slackware-current/source/d/rust-bindgen/fetch-sources.sh
Patrick J Volkerding 888029128e Thu Apr 13 22:25:18 UTC 2023
a/kernel-generic-6.1.24-x86_64-1.txz:  Upgraded.
a/kernel-huge-6.1.24-x86_64-1.txz:  Upgraded.
a/kernel-modules-6.1.24-x86_64-1.txz:  Upgraded.
a/tcsh-6.24.09-x86_64-1.txz:  Upgraded.
ap/vim-9.0.1450-x86_64-1.txz:  Upgraded.
d/kernel-headers-6.1.24-x86-1.txz:  Upgraded.
d/mercurial-6.4.1-x86_64-1.txz:  Upgraded.
d/rust-bindgen-0.65.1-x86_64-1.txz:  Upgraded.
k/kernel-source-6.1.24-noarch-1.txz:  Upgraded.
kde/digikam-8.0.0-x86_64-1.txz:  Upgraded.
l/gobject-introspection-1.76.1-x86_64-1.txz:  Upgraded.
l/pipewire-0.3.69-x86_64-1.txz:  Upgraded.
  When enabled, use wireplumber rather than the deprecated media-session.
  Thanks to saxa for the help. :-)
n/openvpn-2.6.3-x86_64-1.txz:  Upgraded.
n/php-8.2.5-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
  For more information, see:
    https://www.php.net/ChangeLog-8.php#8.2.5
xap/vim-gvim-9.0.1450-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2023-04-14 01:40:28 +02:00

35 lines
898 B
Bash
Executable file

#!/bin/bash
#VERSION=$1
VERSION=0.65.1
rm -rf rust-bindgen-*.tar.?z cargo-rust-bindgen*
echo "Downloading rust-bindgen-$VERSION..."
wget --content-disposition "https://github.com/rust-lang/rust-bindgen/archive/refs/tags/v$VERSION.tar.gz"
tar xf rust-bindgen-$VERSION.tar.gz
tar cf rust-bindgen-$VERSION.tar rust-bindgen-$VERSION
cd rust-bindgen-$VERSION
if ! [ -f /usr/bin/cargo-vendor-filterer ]; then
echo "WARNING: Creating unfiltered vendor libs tarball!"
cargo vendor
else
cargo vendor-filterer --platform="x86_64-unknown-linux-gnu" --platform="i686-unknown-linux-gnu"
fi
mv vendor ../cargo-rust-bindgen-$VERSION
cd ..
tar cf cargo-rust-bindgen-$VERSION.tar cargo-rust-bindgen-$VERSION
plzip -9 cargo-rust-bindgen-$VERSION.tar
plzip -9 rust-bindgen-$VERSION.tar
rm -rf rust-bindgen-$VERSION
rm -rf cargo-rust-bindgen-$VERSION
rm -f rust-bindgen-$VERSION.tar.gz