summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Schäferdiek2017-03-26 13:46:21 +0200
committerAlexander Schäferdiek2017-03-26 13:46:21 +0200
commitb21ddc8dfee25a3764e89b6f632b359e18b97547 (patch)
treee3667d79e0095c0dd2f92d4bcbc894e875caa532
downloadaur-b21ddc8dfee25a3764e89b6f632b359e18b97547.tar.gz
add spotifyd for armv7 binary version
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD17
-rw-r--r--spotifyd@.service10
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..81316bcbc86
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Sun Mar 26 11:45:52 UTC 2017
+pkgbase = spotifyd-bin
+ pkgdesc = A spotify playing daemon
+ pkgver = 8d1809f9710e3af4cda7
+ pkgrel = 1
+ url = https://github.com/Spotifyd/spotifyd
+ arch = armv7h
+ source_armv7h = https://github.com/Spotifyd/spotifyd/releases/download/untagged-8d1809f9710e3af4cda7/spotifyd-2017-02-18-armv7.zip
+ source_armv7h = spotifyd@.service
+ md5sums_armv7h = 9adadc8a9e8aeee88d017a00db3f1280
+ md5sums_armv7h = 230939d3dfe5986ed3587050955b2926
+
+pkgname = spotifyd-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c7e4539db98
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+pkgname=spotifyd-bin
+pkgver=8d1809f9710e3af4cda7
+pkgrel=1
+#arch=('armv7h' 'x86_64')
+arch=('armv7h')
+pkgdesc="A spotify playing daemon"
+url="https://github.com/Spotifyd/spotifyd"
+#source_x86_64=("https://github.com/Spotifyd/spotifyd/releases/download/untagged-${pkgver}/spotifyd-2017-02-18-amd64.zip" "spotifyd@.service")
+#md5sums_x86_64=('61dc585dd3c4581900e7a8191822c791' 'deb315535d8d0c00a4e5698057e4e546')
+md5sums_armv7h=('9adadc8a9e8aeee88d017a00db3f1280'
+ '230939d3dfe5986ed3587050955b2926')
+source_armv7h=("https://github.com/Spotifyd/spotifyd/releases/download/untagged-${pkgver}/spotifyd-2017-02-18-armv7.zip" "spotifyd@.service")
+
+package() {
+ install -D -m 755 spotifyd "${pkgdir}/usr/bin/spotifyd"
+ install -D -m644 "${srcdir}/spotifyd@.service" "${pkgdir}/usr/lib/systemd/system/spotifyd@.service"
+}
diff --git a/spotifyd@.service b/spotifyd@.service
new file mode 100644
index 00000000000..07e3a11f73b
--- /dev/null
+++ b/spotifyd@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=A spotify playing daemon for %i
+
+[Service]
+Type=simple
+User=%i
+ExecStart=/usr/bin/spotifyd --no-daemon
+
+[Install]
+WantedBy=multi-user.target