diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-10-19 09:32:09 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-10-19 09:33:11 +0200 |
commit | f8c030e5470e0ce7dc7766539df5076fc4c05aef (patch) | |
tree | 02241a2ce925ec4d6020c9597da58c1dd88c9638 /main | |
parent | 7b52d749305c15932018efa84b7bb664055686c8 (diff) | |
download | aports-f8c030e5470e0ce7dc7766539df5076fc4c05aef.tar.bz2 aports-f8c030e5470e0ce7dc7766539df5076fc4c05aef.tar.xz |
main/mpd: add check
Diffstat (limited to 'main')
-rw-r--r-- | main/mpd/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/mpd/APKBUILD b/main/mpd/APKBUILD index 227ae565eb..4bc2f154fa 100644 --- a/main/mpd/APKBUILD +++ b/main/mpd/APKBUILD @@ -8,7 +8,7 @@ case $pkgver in *.*.*) _branch=${pkgver%.*};; *.*) _branch=$pkgver;; esac -pkgrel=0 +pkgrel=1 pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files" url="https://musicpd.org" pkgusers="mpd" @@ -19,8 +19,9 @@ depends="" makedepends="lame-dev glib-dev curl-dev libao-dev libmad-dev flac-dev libogg-dev faad2-dev libid3tag-dev libvorbis-dev alsa-lib-dev libsamplerate-dev libshout-dev libmodplug-dev boost-dev icu-dev - libnfs-dev samba-dev opus-dev ffmpeg-dev - autoconf automake libtool libmpdclient-dev" + libnfs-dev samba-dev opus-dev ffmpeg-dev autoconf automake + libtool libmpdclient-dev" +checkdepends="cppunit-dev" install="$pkgname.pre-install" subpackages="$pkgname-doc $pkgname-dbg" source="https://www.musicpd.org/download/mpd/$_branch/mpd-$pkgver.tar.xz @@ -51,10 +52,15 @@ build() { --enable-nfs \ --enable-smbclient \ --enable-ffmpeg \ - --enable-libmpdclient + --enable-libmpdclient \ + --enable-test make } +check() { + make -C "$builddir" check +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install |