mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
1e58337a26
commit
8278c053d6
3 changed files with 8 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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" \
|
||||
|
|
|
@ -283,6 +283,6 @@ MD5SUM="66853e1ed5c9d07e139aa41024ac6ce2 \
|
|||
236543796b708fd01b4087696067a225"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="%README%"
|
||||
REQUIRES="rust16"
|
||||
MAINTAINER="Damian Perticone"
|
||||
EMAIL="mjolnirdam@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue