pakur.sh 516 B

123456789101112131415
  1. cd "${isim}c-$surum-src"
  2. mkdir -p $PKG/usr
  3. tar xf build/dist/rustc-${surum}-x86_64-unknown-linux-gnu.tar.gz -C "$PKG/usr" --strip-components=2 --exclude=manifest.in
  4. tar xf build/dist/rust-std-${surum}-x86_64-unknown-linux-gnu.tar.gz -C "$PKG/usr/lib" --strip-components=3 --exclude=manifest.in
  5. cd ${PKG}/usr/lib
  6. ln -sf rustlib/*/lib/*.so . # kısayol ataması
  7. cd -
  8. # temizlik
  9. rm -rfv $PKG/usr/share/zsh
  10. rm -rfv $PKG/etc
  11. rm -rfv $PKG/usr/lib/rustlib/{components,manifest-rustc,rust-installer-version,uninstall.sh}