mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
audio/podget: Updated for version 0.8.10.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5672611d1d
commit
59edcf0799
2 changed files with 6 additions and 18 deletions
|
@ -21,6 +21,7 @@
|
||||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
# 20211126 bkw: update for v0.8.10
|
||||||
# 20210223 bkw: update for v0.8.8
|
# 20210223 bkw: update for v0.8.8
|
||||||
# 20201103 bkw:
|
# 20201103 bkw:
|
||||||
# - update for v0.8.7
|
# - update for v0.8.7
|
||||||
|
@ -38,16 +39,13 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=podget
|
PRGNAM=podget
|
||||||
VERSION=${VERSION:-0.8.8}
|
VERSION=${VERSION:-0.8.10}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
|
|
||||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
|
||||||
# the name of the created package would be, and then exit. This information
|
|
||||||
# could be useful to other scripts.
|
|
||||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -74,21 +72,11 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||||
# supposed to be there, so the regex becomes \r$ instead of \r.
|
# supposed to be there, so the regex becomes \r$ instead of \r.
|
||||||
find . -type f | \
|
find . -type f | \
|
||||||
xargs file | \
|
xargs file | \
|
||||||
grep 'ASCII.*LF' | \
|
grep 'ASCII.*CR' | \
|
||||||
cut -d: -f1 | \
|
cut -d: -f1 | \
|
||||||
xargs sed -i 's,\r$,,' \
|
xargs sed -i 's,\r$,,' \
|
||||||
|| true
|
|| true
|
||||||
|
|
||||||
# 20200619 bkw: 14.2's creaky old bash 4.3 doesn't support
|
|
||||||
# inherit_errexit, which is a feature of bash 4.4 and up. The sed
|
|
||||||
# command below allows the script to run without it, which will change
|
|
||||||
# some of the error handling a bit, but won't actually break anything
|
|
||||||
# when there *aren't* errors. Previous versions of podget got along just
|
|
||||||
# fine without inherit_errexit...
|
|
||||||
# 20201103 bkw: upstream added checking code, this had to change some.
|
|
||||||
sed -i '/shopt *inherit_errexit/,/shopt *-s *inherit_errexit/s,^,## ,' \
|
|
||||||
$PRGNAM
|
|
||||||
|
|
||||||
# 20201103 bkw: change hardcoded paths
|
# 20201103 bkw: change hardcoded paths
|
||||||
sed -i \
|
sed -i \
|
||||||
-e "s,share/man,man,g" \
|
-e "s,share/man,man,g" \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="podget"
|
PRGNAM="podget"
|
||||||
VERSION="0.8.8"
|
VERSION="0.8.10"
|
||||||
HOMEPAGE="http://podget.sourceforge.net/index.php"
|
HOMEPAGE="http://podget.sourceforge.net/index.php"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/podget/podget-0.8.8.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/podget/podget-0.8.10.tar.gz"
|
||||||
MD5SUM="d16fb8d111d60420cd435e5f5d289304"
|
MD5SUM="b780a236eee85f60f9095925c6643ae2"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue