Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system/dget: Updated for version 2.24.6. #9062

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 5 additions & 20 deletions system/dget/dget.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Slackware build script for dget.
#
# Copyright 2018-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2018-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
Expand All @@ -25,18 +25,12 @@
cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=dget
VERSION=${VERSION:-2.23.4}
VERSION=${VERSION:-2.24.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
ARCH=noarch

if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
Expand All @@ -47,14 +41,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
BITS="i386"
elif [ "$ARCH" = "i686" ]; then
BITS="i386"
elif [ "$ARCH" = "x86_64" ]; then
BITS="amd64"
fi

set -e

SRCNAM="devscripts"
Expand All @@ -64,7 +50,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
ar p $CWD/${SRCNAM}_${VERSION}+deb12u1_${BITS}.deb data.tar.xz | tar xvJ -C $PRGNAM-$VERSION
ar p $CWD/${SRCNAM}_${VERSION}_all.deb data.tar.xz | tar xvJ -C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
Expand All @@ -91,8 +77,7 @@ install -D -m644 usr/share/bash-completion/completions/dget \

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
gzip -dc usr/share/doc/$SRCNAM/changelog.gz > $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog
gzip -dc usr/share/doc/$SRCNAM/NEWS.Debian.gz > $PKG/usr/doc/$PRGNAM-$VERSION/NEWS
gzip -dc usr/share/doc/$SRCNAM/README.gz > $PKG/usr/doc/$PRGNAM-$VERSION/README
gzip -dc usr/share/doc/$SRCNAM/README.md.gz > $PKG/usr/doc/$PRGNAM-$VERSION/README
cp usr/share/doc/$SRCNAM/copyright $PKG/usr/doc/$PRGNAM-$VERSION/Copyright
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

Expand Down
10 changes: 5 additions & 5 deletions system/dget/dget.info
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PRGNAM="dget"
VERSION="2.23.4"
VERSION="2.24.6"
HOMEPAGE="https://goo.gl/mr1Uz3"
DOWNLOAD="https://deb.debian.org/debian/pool/main/d/devscripts/devscripts_2.23.4+deb12u1_i386.deb"
MD5SUM="b15ef0c8d478a011b375a3bff0c72106"
DOWNLOAD_x86_64="https://deb.debian.org/debian/pool/main/d/devscripts/devscripts_2.23.4+deb12u1_amd64.deb"
MD5SUM_x86_64="f31f18c5479234357b5078300eb4bd22"
DOWNLOAD="https://ftp.debian.org/debian/pool/main/d/devscripts/devscripts_2.24.6_all.deb"
MD5SUM="1dfb522cb279ed2574cb0114b141c595"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dpkg"
MAINTAINER="Edinaldo P. Silva"
EMAIL="[email protected]"