mpc: update to 0.33
authorRosen Penev <rosenp@gmail.com>
Thu, 20 Feb 2020 03:31:09 +0000 (19:31 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 17 Apr 2020 21:57:55 +0000 (14:57 -0700)
Small Makefile cleanups.

Ran script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 4fba03d6d16af923199ea876da4fe992f8cbdb91)

sound/mpc/Makefile
sound/mpc/files/pls-handler.sh

index 3424e3d13a6f6aad069bafbcf4ced5bfd3350a41..9b64c152722f924c872172b46125e6d945fecf91 100644 (file)
@@ -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 <thess@kitschensync.net>
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=COPYING
-PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
 
 PKG_BUILD_DEPENDS:=meson/host
 PKG_INSTALL:=1
index 9394417838d7bd830a29304cca7fbe569acad134..a9b5f27a3c019c4f4e71d977ef52ca034b2bec1a 100644 (file)
@@ -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