diff --git a/desktop/leftwm/README b/desktop/leftwm/README index 6e667d29d5..0a09163aee 100644 --- a/desktop/leftwm/README +++ b/desktop/leftwm/README @@ -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. diff --git a/desktop/leftwm/leftwm.SlackBuild b/desktop/leftwm/leftwm.SlackBuild index 9098f37170..d27a85272a 100644 --- a/desktop/leftwm/leftwm.SlackBuild +++ b/desktop/leftwm/leftwm.SlackBuild @@ -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" \ diff --git a/desktop/leftwm/leftwm.info b/desktop/leftwm/leftwm.info index d459b3203c..be629992de 100644 --- a/desktop/leftwm/leftwm.info +++ b/desktop/leftwm/leftwm.info @@ -283,6 +283,6 @@ MD5SUM="66853e1ed5c9d07e139aa41024ac6ce2 \ 236543796b708fd01b4087696067a225" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="%README%" +REQUIRES="rust16" MAINTAINER="Damian Perticone" EMAIL="mjolnirdam@gmail.com"