Skip to content

Commit

Permalink
add: lib32-rust-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
Xdavius committed Sep 5, 2024
1 parent 00cc7dd commit ce6a8a6
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
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
}
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

0 comments on commit ce6a8a6

Please sign in to comment.