From 9300c78a7653ae871443e73fdd6f073a46e4f374 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 8 Apr 2021 14:49:15 +0200 Subject: [PATCH] generic finding of rust compiled binaries --- ap/bandwhich/SlackBuild | 2 +- ap/bat/SlackBuild | 2 +- ap/broot/SlackBuild | 2 +- ap/btm/SlackBuild | 2 +- ap/delta/SlackBuild | 2 +- ap/diskus/SlackBuild | 2 +- ap/dust/SlackBuild | 2 +- ap/exa/SlackBuild | 2 +- ap/fd/SlackBuild | 2 +- ap/grex/SlackBuild | 2 +- ap/ht/SlackBuild | 2 +- ap/hyperfine/SlackBuild | 2 +- ap/ion/SlackBuild | 2 +- ap/lsd/SlackBuild | 2 +- ap/nu/SlackBuild | 2 +- ap/procs/SlackBuild | 2 +- ap/ripgrep/SlackBuild | 2 +- ap/sd/SlackBuild | 2 +- ap/starship/SlackBuild | 2 +- ap/tldr/SlackBuild | 2 +- ap/ytop/SlackBuild | 2 +- d/rbspy/SlackBuild | 6 +++--- xap/alacritty/SlackBuild | 4 ++-- 23 files changed, 26 insertions(+), 26 deletions(-) diff --git a/ap/bandwhich/SlackBuild b/ap/bandwhich/SlackBuild index 272dd74e..6051a375 100755 --- a/ap/bandwhich/SlackBuild +++ b/ap/bandwhich/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/bat/SlackBuild b/ap/bat/SlackBuild index 2597661c..ba3d7ab4 100755 --- a/ap/bat/SlackBuild +++ b/ap/bat/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/broot/SlackBuild b/ap/broot/SlackBuild index cedbeead..e3abe528 100755 --- a/ap/broot/SlackBuild +++ b/ap/broot/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/btm/SlackBuild b/ap/btm/SlackBuild index d9494569..8ab0b591 100755 --- a/ap/btm/SlackBuild +++ b/ap/btm/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/delta/SlackBuild b/ap/delta/SlackBuild index 8adafa6b..04778545 100755 --- a/ap/delta/SlackBuild +++ b/ap/delta/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/diskus/SlackBuild b/ap/diskus/SlackBuild index d0bcd49a..f40f8d5b 100755 --- a/ap/diskus/SlackBuild +++ b/ap/diskus/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/dust/SlackBuild b/ap/dust/SlackBuild index 536782ae..4af686b8 100755 --- a/ap/dust/SlackBuild +++ b/ap/dust/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/exa/SlackBuild b/ap/exa/SlackBuild index 7c0d6ff4..18e4052d 100755 --- a/ap/exa/SlackBuild +++ b/ap/exa/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/fd/SlackBuild b/ap/fd/SlackBuild index 833209c6..c09d388f 100755 --- a/ap/fd/SlackBuild +++ b/ap/fd/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* mkdir -p $PKG$PREFIX/man diff --git a/ap/grex/SlackBuild b/ap/grex/SlackBuild index 03930c38..46239e14 100755 --- a/ap/grex/SlackBuild +++ b/ap/grex/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/ht/SlackBuild b/ap/ht/SlackBuild index 0fedd902..9eacc5d5 100755 --- a/ap/ht/SlackBuild +++ b/ap/ht/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/hyperfine/SlackBuild b/ap/hyperfine/SlackBuild index ea5521e5..9b08891c 100755 --- a/ap/hyperfine/SlackBuild +++ b/ap/hyperfine/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/ion/SlackBuild b/ap/ion/SlackBuild index 8fa35170..3a6796b2 100755 --- a/ap/ion/SlackBuild +++ b/ap/ion/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/lsd/SlackBuild b/ap/lsd/SlackBuild index e58d7646..c629ed53 100755 --- a/ap/lsd/SlackBuild +++ b/ap/lsd/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/nu/SlackBuild b/ap/nu/SlackBuild index 5c5be696..63bebd09 100755 --- a/ap/nu/SlackBuild +++ b/ap/nu/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/procs/SlackBuild b/ap/procs/SlackBuild index 0905b13b..e156aafb 100755 --- a/ap/procs/SlackBuild +++ b/ap/procs/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/ripgrep/SlackBuild b/ap/ripgrep/SlackBuild index 11897e4a..3cf33652 100755 --- a/ap/ripgrep/SlackBuild +++ b/ap/ripgrep/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/rg $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/sd/SlackBuild b/ap/sd/SlackBuild index b7c7306b..3eb6da20 100755 --- a/ap/sd/SlackBuild +++ b/ap/sd/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/starship/SlackBuild b/ap/starship/SlackBuild index d2e75b80..79f9ce07 100755 --- a/ap/starship/SlackBuild +++ b/ap/starship/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/tldr/SlackBuild b/ap/tldr/SlackBuild index 28fc52da..fd784734 100755 --- a/ap/tldr/SlackBuild +++ b/ap/tldr/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/ytop/SlackBuild b/ap/ytop/SlackBuild index 1a5fc738..16adc626 100755 --- a/ap/ytop/SlackBuild +++ b/ap/ytop/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/d/rbspy/SlackBuild b/d/rbspy/SlackBuild index 7a62fa7d..021d481b 100755 --- a/d/rbspy/SlackBuild +++ b/d/rbspy/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/rbspy $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location @@ -62,8 +62,8 @@ cat < $PKG/install/slack-desc $PRGNAM: $PRGNAM (Sampling profiler for Ruby) $PRGNAM: $PRGNAM: Have a running Ruby program that you want to profile without -$PRGNAM: restarting it? Want to profile a Ruby command line program really -$PRGNAM: easily? You want rbspy! rbspy can profile any Ruby program just by +$PRGNAM: restarting it? Want to profile a Ruby command line program really +$PRGNAM: easily? You want rbspy! rbspy can profile any Ruby program just by $PRGNAM: running 1 simple command. $PRGNAM: $PRGNAM: diff --git a/xap/alacritty/SlackBuild b/xap/alacritty/SlackBuild index 2dcfa899..b2049fd0 100755 --- a/xap/alacritty/SlackBuild +++ b/xap/alacritty/SlackBuild @@ -34,7 +34,7 @@ cd $TMP/$PRGNAM cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location @@ -69,7 +69,7 @@ $PRGNAM: requires no additional setup. However, it does allow configuration of $PRGNAM: many aspects of the terminal. $PRGNAM: $PRGNAM: https://github.com/jwilm/alacritty -$PRGNAM: +$PRGNAM: EOF # empaquetage