diff options
Diffstat (limited to 'spotifyd/APKBUILD')
-rw-r--r-- | spotifyd/APKBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spotifyd/APKBUILD b/spotifyd/APKBUILD new file mode 100644 index 0000000..911be89 --- /dev/null +++ b/spotifyd/APKBUILD @@ -0,0 +1,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" |