From 98118680545bd75f5f0cc9adbb7053ee79e1662e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 28 Dec 2019 10:52:53 +0100 Subject: spotifyd: add package --- spotifyd/APKBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 spotifyd/APKBUILD 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čí +# 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" -- cgit v1.2.3