Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3
alacritty
revendor_source.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File revendor_source.sh of Package alacritty
#!/bin/sh set -euo pipefail # packaging helper to workaround: # https://github.com/rust-lang/cargo/issues/7058 wd="$(mktemp -d /tmp/revendor.XXXXXXXXXX)" # take what we need into the build cp vendor*xz $wd cd $wd echo -n "Extracting vendor..." tar xf vendor*xz echo "done" echo -n "Ejecting winapi bloat... " rm -fr vendor/winapi*gnu*/lib/*.a echo "done" # remake tarball echo -n "Compressing archive... " tar -cf - vendor/ | xz -9 -c - > vendor-merged.tar.xz echo "done" cd - echo -n "Replacing tarball... " cp $wd/vendor-merged.tar.xz vendor.tar.xz rm -fr $wd echo "ok"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor