X-Git-Url: https://git.sev.monster/aports.git/blobdiff_plain/35daf365a8de3b07569006fce90470376b0e28c3..2f2ce3afec145b4cb4d1d3229e883fea01f2a4bd:/testing/mympd/APKBUILD diff --git a/testing/mympd/APKBUILD b/testing/mympd/APKBUILD index 9af6bd5..86f8d56 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.6 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 +f1636645efe3b2b1838615b1a3474956520c99c070d00f5c2a5d474dbdd6ecd047e1379c286592016a06304dc981fab173d3e7bc83221c7b8153ff6724c453da myMPD-10.1.6.tar.gz "