From 4fba03d6d16af923199ea876da4fe992f8cbdb91 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 19 Feb 2020 19:31:09 -0800 Subject: [PATCH] mpc: update to 0.33 Small Makefile cleanups. Ran script through shellcheck. Signed-off-by: Rosen Penev --- sound/mpc/Makefile | 6 +++--- sound/mpc/files/pls-handler.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/mpc/Makefile b/sound/mpc/Makefile index 3424e3d13..9b64c1527 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 939441783..a9b5f27a3 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