]> git.sev.monster Git - aports.git/blobdiff - testing/mympd/APKBUILD
testing/web2ldap: fix openrc, add host/port vars
[aports.git] / testing / mympd / APKBUILD
index 9af6bd5b819d26ee3609a0861c4c840cfbcf9304..1efe3f2518f30bdd5d8ae97ad79fa7a704b3e7b9 100644 (file)
@@ -1,7 +1,7 @@
 # Contributor: sev <alpine@sev.monster>
 # Maintainer: sev <alpine@sev.monster>
 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
 "
This page took 0.049322 seconds and 4 git commands to generate.