diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-11-25 22:10:42 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-26 09:11:45 +0700 |
commit | 58396bd65a1c34f4370e9dd5ca620cd0461385ae (patch) | |
tree | a86d3c799cbf8d9cc90caac0c10036c85de5fdad | |
parent | eac2567c87e7c7f19ee0abeb8b2540b92a38f17e (diff) |
development/yosys: Fix github tarball handling.
https://slackbuilds.org/GITHUB_URLs.txt
This avoids having differently named tarballs and src
directories.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/yosys/yosys.SlackBuild | 7 | ||||
-rw-r--r-- | development/yosys/yosys.info | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/development/yosys/yosys.SlackBuild b/development/yosys/yosys.SlackBuild index 082629a46fcd4..cdbaed8e98219 100644 --- a/development/yosys/yosys.SlackBuild +++ b/development/yosys/yosys.SlackBuild @@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=yosys +SRCNAM=yosys-$PRGNAM VERSION=${VERSION:-0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf yosys-$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd yosys-$PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/development/yosys/yosys.info b/development/yosys/yosys.info index 89b45ecc9d8f5..479c1b889e494 100644 --- a/development/yosys/yosys.info +++ b/development/yosys/yosys.info @@ -1,7 +1,7 @@ PRGNAM="yosys" VERSION="0.22" HOMEPAGE="https://yosyshq.net/yosys" -DOWNLOAD="https://github.com/YosysHQ/yosys/archive/refs/tags/yosys-0.22.tar.gz" +DOWNLOAD="https://github.com/YosysHQ/yosys/archive/yosys-0.22/yosys-yosys-0.22.tar.gz" MD5SUM="6c5ce0aa586019ec88ebfdae122157aa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |