# Maintainer: oi_wtf pkgname=ashuffle pkgver=3.11.0 pkgrel=1 pkgdesc="Automatic library-wide shuffle for mpd." url="https://github.com/joshkunz/ashuffle" arch=(x86_64 i686 armv6h armv7h aarch64) license=(MIT) depends=("libmpdclient") makedepends=("meson" "abseil-cpp>=20200225.2-2" "gtest>=1.10" "gmock>=1.10") source=( "https://github.com/joshkunz/ashuffle/archive/v${pkgver}/ashuffle-${pkgver}.tar.gz" ) sha256sums=( "1b74187c33f81b7d27537c0cc25570b3b6d63c334e13c6897008460cba36f0f2" ) #prepare() { # cd "ashuffle-${pkgver}" #} build() { cd "ashuffle-${pkgver}" arch-meson \ -Dtests=enabled \ -Dunsupported_use_system_absl=true \ -Dunsupported_use_system_gtest=true \ builddir ninja -C builddir } check() { cd "ashuffle-${pkgver}" ninja -C builddir test } package() { cd "ashuffle-${pkgver}" DESTDIR="${pkgdir}" ninja -C builddir install install -Dm644 "LICENSE" \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }