summaryrefslogtreecommitdiff
path: root/spotifyd/APKBUILD
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-01-19 13:02:26 +0100
committerKarel Kočí <cynerd@email.cz>2020-01-19 13:05:26 +0100
commitec2cfa022c50a3f7df20344cdacf5ace006d40e9 (patch)
tree9ccaae60101fd13ec0438839c2fe4b3e6d2f665f /spotifyd/APKBUILD
parentbe73ce1b99508631382016323e1dae619f2f40a3 (diff)
downloadalpine-personal-pkgs-ec2cfa022c50a3f7df20344cdacf5ace006d40e9.tar.gz
alpine-personal-pkgs-ec2cfa022c50a3f7df20344cdacf5ace006d40e9.tar.bz2
alpine-personal-pkgs-ec2cfa022c50a3f7df20344cdacf5ace006d40e9.zip
spotifyd: add init script and config
Diffstat (limited to 'spotifyd/APKBUILD')
-rw-r--r--spotifyd/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/spotifyd/APKBUILD b/spotifyd/APKBUILD
index 0985fca..a750baa 100644
--- a/spotifyd/APKBUILD
+++ b/spotifyd/APKBUILD
@@ -2,9 +2,9 @@
# Maintainer: Karel Kočí <cynerd@email.cz>
pkgname=spotifyd
pkgver=0.2.23
-pkgrel=0
+pkgrel=1
pkgdesc="A spotify daemon"
-url="https://github.com/sharkdp/fd"
+url="https://github.com/Spotifyd/spotifyd"
arch="x86_64 armhf aarch64"
license="GPLv3"
makedepends="cargo alsa-lib-dev openssl-dev"
@@ -19,5 +19,8 @@ build() {
package() {
cargo install --path . --root="$pkgdir"/usr
+ install -D -m 755 "$srcdir"/spotifyd.init "$pkgdir"/etc/init.d/spotifyd
+ install -D -m 644 "$srcdir"/spotifyd.conf "$pkgdir"/etc/spotifyd.conf
}
+
sha512sums="b8c0efccb6ca64b774f845a647f85b36e9565a67631719705322e723abcc3b2bf9155dfd07bd010902a4806422be29a7f32209c071738379aabfac5dead4f322 spotifyd-0.2.23.tar.gz"