]> git.sev.monster Git - aports.git/blobdiff - testing/mympd/APKBUILD
testing/uptime-kuma: upgrade to 1.19.0
[aports.git] / testing / mympd / APKBUILD
index 966d0e8b5d340dd0caea9c5cd2f0f92487653fbd..86f8d56a798d9519473eb4ccee19ee5b15f08d27 100644 (file)
@@ -1,7 +1,7 @@
 # Contributor: sev <alpine@sev.monster>
 # Maintainer: sev <alpine@sev.monster>
 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
 "
This page took 0.029354 seconds and 4 git commands to generate.