academic/DRAMsim3: Fix github tarball handling.

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 2022-10-29 19:47:04 +09:00 committed by Willy Sudiarto Raharjo
parent d3d735f1c2
commit 95f73609d5
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 2 additions and 4 deletions

View file

@ -30,8 +30,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=dramsim3
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@ -69,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .

View file

@ -1,7 +1,7 @@
PRGNAM="DRAMsim3"
VERSION="1.0.0"
HOMEPAGE="https://github.com/umd-memsys/DRAMsim3"
DOWNLOAD="https://github.com/umd-memsys/DRAMsim3/archive/1.0.0/dramsim3-1.0.0.tar.gz"
DOWNLOAD="https://github.com/umd-memsys/DRAMsim3/archive/1.0.0/DRAMsim3-1.0.0.tar.gz"
MD5SUM="ae5079649cac0987236939b13c28e51e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""