X-Git-Url: https://git.sev.monster/aports.git/blobdiff_plain/81f2db8b3144a35c30dda70310e95ebc6c141735..2f2ce3afec145b4cb4d1d3229e883fea01f2a4bd:/testing/mympd/APKBUILD diff --git a/testing/mympd/APKBUILD b/testing/mympd/APKBUILD index 966d0e8..86f8d56 100644 --- a/testing/mympd/APKBUILD +++ b/testing/mympd/APKBUILD @@ -1,7 +1,7 @@ # Contributor: sev # Maintainer: sev pkgname=mympd -pkgver=9.3.1 +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=" -a5c8d63842d7c5139af465d0b065913a1d9f648bcfff8f0ad0d2055ad10cdcb525fd6f0fbba61ef513f868779192e67bfbc7c7e3508e00f79149e1de1fe90a63 myMPD-9.3.1.tar.gz +f1636645efe3b2b1838615b1a3474956520c99c070d00f5c2a5d474dbdd6ecd047e1379c286592016a06304dc981fab173d3e7bc83221c7b8153ff6724c453da myMPD-10.1.6.tar.gz "