rust: idk i forgot to committ

This commit is contained in:
2026-01-22 18:29:31 +01:00
parent 0f9fa2f17a
commit 0755a4e853
2 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
pkgname = "cargo-c" pkgname = "cargo-c"
pkgver = "0.10.18" pkgver = "0.10.19"
source = f"https://github.com/lu-zero/cargo-c/archive/v{pkgver}/cargo-c-{pkgver}.tar.gz" source = f"https://github.com/lu-zero/cargo-c/archive/v{pkgver}/cargo-c-{pkgver}.tar.gz"
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}" builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
fembuilddir = f"/tmp/fempkg/build/{pkgname}" fembuilddir = f"/tmp/fempkg/build/{pkgname}"

View File

@@ -1,5 +1,5 @@
pkgname = "rustc" pkgname = "rustc" # TODO WEN UPDATING VERSION, RENEW BOOTSTRAP.TOML!!!!!
pkgver = "1.91.0" pkgver = "1.92.0"
source = f"https://static.rust-lang.org/dist/rustc-{pkgver}-src.tar.xz" source = f"https://static.rust-lang.org/dist/rustc-{pkgver}-src.tar.xz"
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}-src" builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}-src"
fembuilddir = f"/tmp/fempkg/build/{pkgname}" fembuilddir = f"/tmp/fempkg/build/{pkgname}"
@@ -21,7 +21,8 @@ build = [
f"cd {builddir} && {exports} && ./x.py build", f"cd {builddir} && {exports} && ./x.py build",
f"cd {builddir} && {exports} && DESTDIR={destdir} ./x.py install", f"cd {builddir} && {exports} && DESTDIR={destdir} ./x.py install",
f"cd {builddir} && {exports} && rm -fv {destdir}/opt/rustc-{pkgver}/share/doc/rustc-{pkgver}/*.old", f"cd {builddir} && {exports} && rm -fv {destdir}/opt/rustc-{pkgver}/share/doc/rustc-{pkgver}/*.old",
f"cd {builddir} && {exports} && install -vm644 README.md {destdir}/opt/rustc-{pkgver}/share/doc/rustc-{pkgver}", f"mkdir -p {destdir}/opt/rustc-{pkgver}/share/doc/rustc-{pkgver}/",
f"cd {builddir} && {exports} && install -vm644 README.md {destdir}/opt/rustc-{pkgver}/share/doc/rustc-{pkgver}/README.md",
f"cd {builddir} && {exports} && install -vdm755 {destdir}/usr/share/zsh/site-functions", f"cd {builddir} && {exports} && install -vdm755 {destdir}/usr/share/zsh/site-functions",
f"cd {builddir} && {exports} && install -vdm755 {destdir}/usr/share/bash-completion/completions", f"cd {builddir} && {exports} && install -vdm755 {destdir}/usr/share/bash-completion/completions",
f"cd {builddir} && {exports} && ln -sfv {destdir}/opt/rustc/share/zsh/site-functions/_cargo {destdir}/usr/share/zsh/site-functions", f"cd {builddir} && {exports} && ln -sfv {destdir}/opt/rustc/share/zsh/site-functions/_cargo {destdir}/usr/share/zsh/site-functions",
@@ -44,5 +45,6 @@ build = [
triggers = [ triggers = [
f"cd /tmp && find /opt -maxdepth 1 -type d -name \"rustc-*\" ! -name \"rustc-{pkgver}\" -exec rm -rf {{}} +" f"cd /tmp && find /opt -maxdepth 1 -type d -name \"rustc-*\" ! -name \"rustc-{pkgver}\" -exec rm -rf {{}} +",
f"ldconfig",
] ]