From b3360027001eceaca07347590fac124c25db570c Mon Sep 17 00:00:00 2001 From: sev Date: Thu, 8 Dec 2022 02:57:18 +0000 Subject: [PATCH] testing/mympd: upgrade to 10.1.5 --- testing/mympd/APKBUILD | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/testing/mympd/APKBUILD b/testing/mympd/APKBUILD index 9af6bd5..1efe3f2 100644 --- a/testing/mympd/APKBUILD +++ b/testing/mympd/APKBUILD @@ -1,7 +1,7 @@ # Contributor: sev # Maintainer: sev pkgname=mympd -pkgver=9.3.4 +pkgver=10.1.5 pkgrel=0 pkgdesc="myMPD is a standalone and mobile friendly web-based MPD client." url="https://jcorporation.github.io/myMPD/" @@ -23,16 +23,15 @@ build() { } check() { - cd "$builddir/release" || exit 1 - # mympd has no safe way to start without it doing something - [ -x mympd >/dev/null 2>&1 ] || return 1 - # we want to check a specific exit code so we have to turn off errexit - set +e + cd "$builddir/release/bin" || exit 1 + ./mympd -h >/dev/null 2>&1 || return 1 if [ -x cli_tools/mympd-script ]; then - ./cli_tools/mympd-script -h >/dev/null 2>&1 + # we want to check exit code so we have to turn off errexit + set +e + ./mympd-script -h >/dev/null 2>&1 [ $? -ne 1 ] && return 1 + set -e fi - set -e } package() { @@ -41,5 +40,5 @@ package() { } sha512sums=" -ad0724208dd7b6f48fad5adef5275f4ecb4d743dd80864e2ad39f66f1238bab284dda462d893566ad772f89956bffecaf08b88108ad5a649a6153beb6283d9ee myMPD-9.3.4.tar.gz +f6af54bb44298a26453fd2b749d1e4ac16f52359175d154db41f3832567854f75d924336a6ac86fa88124df12fdf208eb2f763a0bd8e5414ec7e1b8c59ecdcb5 myMPD-10.1.5.tar.gz " -- 2.47.0