audio/podget: Updated for version 0.8.6.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-06-19 19:40:48 -04:00 committed by Willy Sudiarto Raharjo
parent 8b17aec48c
commit 19610b5549
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20200619 bkw: BUILD=2, apparently nobody (including me) ever noticed
# that v0.8.6 didn't actually work on Slackware 14.2.
# 20191130 bkw: update for v0.8.6
# 20170712 bkw:
@ -31,7 +34,7 @@
PRGNAM=podget
VERSION=${VERSION:-0.8.6}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@ -63,6 +66,15 @@ find . -type f | \
make -j1 prefix=/usr DESTDIR=$PKG install
# 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...
sed -i '/shopt.*-s.*inherit_errexit *$/s,$, &>/dev/null || true,' \
$PKG/usr/bin/$PRGNAM
mv $PKG/usr/share/man $PKG/usr/man
rm -rf $PKG/usr/share