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
|
@ -21,6 +21,7 @@
|
|||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# 20211126 bkw: update for v0.8.10
|
||||
# 20210223 bkw: update for v0.8.8
|
||||
# 20201103 bkw:
|
||||
# - update for v0.8.7
|
||||
|
@ -38,16 +39,13 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=podget
|
||||
VERSION=${VERSION:-0.8.8}
|
||||
VERSION=${VERSION:-0.8.10}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
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
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
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.
|
||||
find . -type f | \
|
||||
xargs file | \
|
||||
grep 'ASCII.*LF' | \
|
||||
grep 'ASCII.*CR' | \
|
||||
cut -d: -f1 | \
|
||||
xargs sed -i 's,\r$,,' \
|
||||
|| 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
|
||||
sed -i \
|
||||
-e "s,share/man,man,g" \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="podget"
|
||||
VERSION="0.8.8"
|
||||
VERSION="0.8.10"
|
||||
HOMEPAGE="http://podget.sourceforge.net/index.php"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/podget/podget-0.8.8.tar.gz"
|
||||
MD5SUM="d16fb8d111d60420cd435e5f5d289304"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/podget/podget-0.8.10.tar.gz"
|
||||
MD5SUM="b780a236eee85f60f9095925c6643ae2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue