rust: idk i forgot to committ
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
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"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
pkgname = "rustc"
|
||||
pkgver = "1.91.0"
|
||||
pkgname = "rustc" # TODO WEN UPDATING VERSION, RENEW BOOTSTRAP.TOML!!!!!
|
||||
pkgver = "1.92.0"
|
||||
source = f"https://static.rust-lang.org/dist/rustc-{pkgver}-src.tar.xz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}-src"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
@@ -21,7 +21,8 @@ build = [
|
||||
f"cd {builddir} && {exports} && ./x.py build",
|
||||
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} && 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/bash-completion/completions",
|
||||
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 = [
|
||||
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",
|
||||
]
|
||||
Reference in New Issue
Block a user