summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-12-28 10:52:53 +0100
committerKarel Kočí <cynerd@email.cz>2019-12-28 10:52:53 +0100
commit98118680545bd75f5f0cc9adbb7053ee79e1662e (patch)
treeb17c1a9b76abf7a0bc0426d115cde8bc3a11542f
parentdfde1c6d1cf1339a99cdf676434fe4ea23265866 (diff)
downloadalpine-personal-pkgs-98118680545bd75f5f0cc9adbb7053ee79e1662e.tar.gz
alpine-personal-pkgs-98118680545bd75f5f0cc9adbb7053ee79e1662e.tar.bz2
alpine-personal-pkgs-98118680545bd75f5f0cc9adbb7053ee79e1662e.zip
spotifyd: add package
-rw-r--r--spotifyd/APKBUILD23
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"