From ce6a8a6238e459ba3c232ee23ce751cd967f7b6b Mon Sep 17 00:00:00 2001 From: xdavius Date: Thu, 5 Sep 2024 15:20:17 +0200 Subject: [PATCH] add: lib32-rust-bin --- packagelist | 1 + packages/lib32-rust-bin/.SRCINFO | 15 ++++++++++++ .../lib32-rust-bin/lib32-rust-bin.pacscript | 24 +++++++++++++++++++ srclist | 16 +++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 packages/lib32-rust-bin/.SRCINFO create mode 100644 packages/lib32-rust-bin/lib32-rust-bin.pacscript diff --git a/packagelist b/packagelist index 7070e70ace..795f2fad06 100644 --- a/packagelist +++ b/packagelist @@ -251,6 +251,7 @@ lbry-deb lemonbar-xft-git lens lf-bin +lib32-rust-bin libcamera-git libcutefish-git libdisplay-info-git diff --git a/packages/lib32-rust-bin/.SRCINFO b/packages/lib32-rust-bin/.SRCINFO new file mode 100644 index 0000000000..171da25904 --- /dev/null +++ b/packages/lib32-rust-bin/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = lib32-rust-bin + gives = lib32-rust + pkgver = 1.80.1 + pkgdesc = Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety + url = https://www.rust-lang.org/ + arch = x86_64 + arch = aarch64 + replaces = libstd-rust-dev:i386 + provides = libstd-rust-dev:i386 + maintainer = xdavius + repology = project: rust + source = https://static.rust-lang.org/dist/rust-1.80.1-i686-unknown-linux-gnu.tar.xz + sha256sums = 9af695dd4eacb397c2169abdfae35c6342f210d04632571d5faf924fa2cc6d39 + +pkgname = lib32-rust-bin diff --git a/packages/lib32-rust-bin/lib32-rust-bin.pacscript b/packages/lib32-rust-bin/lib32-rust-bin.pacscript new file mode 100644 index 0000000000..7d505278c5 --- /dev/null +++ b/packages/lib32-rust-bin/lib32-rust-bin.pacscript @@ -0,0 +1,24 @@ +pkgname="lib32-rust-bin" +gives="lib32-rust" +pkgver="1.80.1" +pkgdesc="Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety" +arch=("x86_64" "aarch64") +repology=("project: rust") +url='https://www.rust-lang.org/' +source=("https://static.rust-lang.org/dist/rust-${pkgver}-i686-unknown-linux-gnu.tar.xz") +sha256sums=("9af695dd4eacb397c2169abdfae35c6342f210d04632571d5faf924fa2cc6d39") +provides=(libstd-rust-dev:i386) +replaces=("${provides[@]}") + +maintainer=("xdavius ") + +package() { + cd "rust-${pkgver}-i686-unknown-linux-gnu" + ./install.sh --destdir="${pkgdir}" --prefix=/usr --disable-ldconfig + rm -fr "${pkgdir:?}"/usr/bin + rm -fr "${pkgdir:?}"/usr/share + rm -fr "${pkgdir}"/usr/etc + rm -fr "${pkgdir}"/usr/libexec + rm -fr "${pkgdir}"/usr/lib/rustlib/etc + rm -f "${pkgdir}"/usr/lib/rustlib/* || true +} diff --git a/srclist b/srclist index c96fb78d72..a464d763c3 100644 --- a/srclist +++ b/srclist @@ -4964,6 +4964,22 @@ pkgbase = lf-bin pkgname = lf-bin --- +pkgbase = lib32-rust-bin + gives = lib32-rust + pkgver = 1.80.1 + pkgdesc = Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety + url = https://www.rust-lang.org/ + arch = x86_64 + arch = aarch64 + replaces = libstd-rust-dev:i386 + provides = libstd-rust-dev:i386 + maintainer = xdavius + repology = project: rust + source = https://static.rust-lang.org/dist/rust-1.80.1-i686-unknown-linux-gnu.tar.xz + sha256sums = 9af695dd4eacb397c2169abdfae35c6342f210d04632571d5faf924fa2cc6d39 + +pkgname = lib32-rust-bin +--- pkgbase = libcamera-git gives = libcamera pkgver = 0.1.0