Compare commits

...

2 Commits

Author SHA1 Message Date
dd7853e8d2 linux: noi facciamo la pappa 2026-01-22 18:30:18 +01:00
0755a4e853 rust: idk i forgot to committ 2026-01-22 18:29:31 +01:00
3 changed files with 8 additions and 6 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,6 +1,6 @@
# TODO when updating kernel version update version in nvidia package # TODO when updating kernel version update version in nvidia package
pkgname = "linux" pkgname = "linux"
pkgver = "6.18.5" pkgver = "6.18.6"
source = f"https://www.kernel.org/pub/linux/kernel/v6.x/linux-{pkgver}.tar.xz" source = f"https://www.kernel.org/pub/linux/kernel/v6.x/linux-{pkgver}.tar.xz"
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",
] ]