[arch-commits] Commit in (4 files)

Frederik Schwan freswa at archlinux.org
Mon Aug 3 14:23:09 UTC 2020


    Date: Monday, August 3, 2020 @ 14:23:09
  Author: freswa
Revision: 668382

move spotifyd from unsupported to community

Added:
  spotifyd/
  spotifyd/repos/
  spotifyd/trunk/
  spotifyd/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: spotifyd/trunk/PKGBUILD
===================================================================
--- spotifyd/trunk/PKGBUILD	                        (rev 0)
+++ spotifyd/trunk/PKGBUILD	2020-08-03 14:23:09 UTC (rev 668382)
@@ -0,0 +1,35 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Bert Peters <bert at bertptrs.nl>
+# Contributor: Varakh <varakh at varakh.de>
+# Contributor: Florian Klink <flokli at flokli.de>
+
+pkgbase=spotifyd
+pkgname=('spotifyd')
+pkgver=0.2.24
+pkgrel=1
+pkgdesc='Leightweigt spotify streaming daemon with spotify connect support'
+arch=('x86_64')
+url='https://github.com/Spotifyd/spotifyd'
+license=('GPL3')
+depends=('alsa-lib' 'libogg' 'libpulse' 'dbus')
+makedepends=('cargo')
+source=("https://github.com/Spotifyd/spotifyd/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+b2sums=('13d397a5b5870b2c1303efe07186599a54362b6b8251a93b3d4794615c63bb24a1afe57c4c22f0f5baafd5604f80af7fdce928f6ce318f4e7662fa3f763c683f')
+
+
+build() {
+  cd spotifyd-${pkgver}
+  cargo build --release --locked --features pulseaudio_backend,dbus_mpris,dbus_keyring,rodio_backend
+}
+
+ check() {
+  cd spotifyd-${pkgver}
+  cargo test --release --locked --target-dir=target
+ }
+
+package() {
+  cd spotifyd-${pkgver}
+  cargo install --locked --root "${pkgdir}"/usr --path "${srcdir}"/${pkgbase}-${pkgver} --features pulseaudio_backend,dbus_mpris,dbus_keyring,rodio_backend
+  rm "${pkgdir}"/usr/{.crates.toml,.crates2.json}
+  install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user/ "${srcdir}"/${pkgbase}-${pkgver}/contrib/spotifyd.service
+}


More information about the arch-commits mailing list