From: Rosen Penev Date: Thu, 20 Feb 2020 03:31:09 +0000 (-0800) Subject: mpc: update to 0.33 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F11398%2Fhead;p=feed%2Fpackages.git mpc: update to 0.33 Small Makefile cleanups. Ran script through shellcheck. Signed-off-by: Rosen Penev --- diff --git a/sound/mpc/Makefile b/sound/mpc/Makefile index 3424e3d13a..9b64c15272 100644 --- a/sound/mpc/Makefile +++ b/sound/mpc/Makefile @@ -6,16 +6,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mpc -PKG_VERSION:=0.32 +PKG_VERSION:=0.33 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.musicpd.org/download/mpc/0 -PKG_HASH:=7961d95b7ce019996beab281cf957e905667c989c53fffd13ade5e62fea331c7 +PKG_HASH:=4f40ccbe18f5095437283cfc525a97815e983cbfd3a29e48ff610fa4f1bf1296 +PKG_MAINTAINER:=Ted Hess PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=COPYING -PKG_MAINTAINER:=Ted Hess PKG_BUILD_DEPENDS:=meson/host PKG_INSTALL:=1 diff --git a/sound/mpc/files/pls-handler.sh b/sound/mpc/files/pls-handler.sh index 9394417838..a9b5f27a3c 100644 --- a/sound/mpc/files/pls-handler.sh +++ b/sound/mpc/files/pls-handler.sh @@ -1,5 +1,5 @@ -#!/usr/bin/env sh +#!/bin/sh echo parameter: file.pls mpc clear -grep '^File[0-9]*' $1 | sed -e 's/^File[0-9]*=//' | mpc add -mpc play \ No newline at end of file +grep '^File[0-9]*' "$1" | sed -e 's/^File[0-9]*=//' | mpc add +mpc play