Projects
Eulaceura:Factory
vscodium
_service:obs_scm:prepare-vendor.sh
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:prepare-vendor.sh of Package vscodium
#!/bin/bash -eux PKGDIR="$(pwd)" TMPDIR="$(mktemp --tmpdir -d vscodium-XXXXXXXX)" ELECTRON_VERSION=$(< ./*.spec grep '^%define electron_version' | sed 's/.*electron_version //') ELECTRON_RISCV64_TAG=$(< ./*.spec grep '^%define electron_riscv64_tag' | sed 's/.*electron_riscv64_tag //' | sed s/%{electron_version}/$ELECTRON_VERSION/) pushd $TMPDIR wget "https://github.com/riscv-forks/electron-riscv-releases/releases/download/$ELECTRON_RISCV64_TAG/electron-v$ELECTRON_VERSION-linux-riscv64.zip" unzip electron-v$ELECTRON_VERSION-linux-riscv64.zip rm electron-v$ELECTRON_VERSION-linux-riscv64.zip XZ_OPT=-9 tar -cJvf "$PKGDIR"/electron-v$ELECTRON_VERSION-linux-riscv64.tar.xz * popd
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2