# Contributor: Karel Kočí # Maintainer: Karel Kočí pkgname=spotifyd pkgver=0.2.20 pkgrel=0 pkgdesc="A spotify daemon" url="https://github.com/sharkdp/fd" arch="x86_64 armhf aarch64" license="GPLv3" makedepends="cargo" options="net" source="$pkgname-$pkgver.tar.gz::https://github.com/Spotifyd/spotifyd/archive/v$pkgver.tar.gz" export CARGO_HOME="$srcdir/cargo" build() { cargo build --release } package() { cargo install --path . --root="$pkgdir"/usr } sha512sums="b4f35dd86846322c320079a4b482c17adedbf200308f14c5a1e01b76731d8694cc034b9d073497ceb88b8be2713270c0c265cae45048cd313254465f4abb542a spotifyd-0.2.20.tar.gz"