X-Git-Url: https://git.sev.monster/aports.git/blobdiff_plain/a046fbf5d3fe2cfb81ce78c17fa1abc2fbc8241b..fc35c1d1cde199c8e22c6106a5bce38bca8955e0:/testing/mympd/APKBUILD?ds=sidebyside 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 "