summaryrefslogtreecommitdiff
path: root/spotifyd/APKBUILD
blob: 911be891a882356dd80b3f4561d929232d3cb8c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Karel Kočí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
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"