X-Git-Url: https://git.sev.monster/aports.git/blobdiff_plain/81f2db8b3144a35c30dda70310e95ebc6c141735..7f1c660c2532e828148af40148f7a72c2263debe:/testing/mympd/APKBUILD diff --git a/testing/mympd/APKBUILD b/testing/mympd/APKBUILD index 966d0e8..1efe3f2 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.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=" -a5c8d63842d7c5139af465d0b065913a1d9f648bcfff8f0ad0d2055ad10cdcb525fd6f0fbba61ef513f868779192e67bfbc7c7e3508e00f79149e1de1fe90a63 myMPD-9.3.1.tar.gz +f6af54bb44298a26453fd2b749d1e4ac16f52359175d154db41f3832567854f75d924336a6ac86fa88124df12fdf208eb2f763a0bd8e5414ec7e1b8c59ecdcb5 myMPD-10.1.5.tar.gz "