Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: lib32-rust-bin #6395

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ lbry-deb
lemonbar-xft-git
lens
lf-bin
lib32-rust-bin
libcamera-git
libcutefish-git
libdisplay-info-git
Expand Down
15 changes: 15 additions & 0 deletions packages/lib32-rust-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
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
24 changes: 24 additions & 0 deletions packages/lib32-rust-bin/lib32-rust-bin.pacscript
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>")

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
vigress8 marked this conversation as resolved.
Show resolved Hide resolved
}
16 changes: 16 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
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
Expand Down
Loading