desktop/leftwm: Fix rust build.

rust-for-mozilla is a moving target.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2023-07-30 19:44:52 +09:00 committed by Willy Sudiarto Raharjo
parent 1e58337a26
commit 8278c053d6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 8 additions and 3 deletions

View file

@ -4,5 +4,3 @@ thing well: be a window manager. LeftWM follows the following mantra:
LeftWM is not a compositor.
LeftWM is not a lock screen.
LeftWM is not a bar.
To build this you need at least Rust version 1.59, use
extra/rust-for-mozilla version 1.60 or higher.

View file

@ -142,6 +142,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
export PATH="/opt/rust16/bin:$PATH"
if [ -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
else
export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
fi
CARGO_HOME=.cargo \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \

View file

@ -283,6 +283,6 @@ MD5SUM="66853e1ed5c9d07e139aa41024ac6ce2 \
236543796b708fd01b4087696067a225"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"
REQUIRES="rust16"
MAINTAINER="Damian Perticone"
EMAIL="mjolnirdam@gmail.com"