summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBert Peters2019-06-19 22:39:46 +0200
committerBert Peters2019-06-19 22:39:46 +0200
commit2b178a16bcd31651ac5c38e9e25a22a3ddc26d80 (patch)
tree4814e950e16d097c3d2dcd56f06b323f5f41a90e /PKGBUILD
parent5227958e50b0719a1774fbfb3ada0bedf56da51e (diff)
downloadaur-spotifyd.tar.gz
Update to 0.2.11.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2c7d1bb2e6f..a3e73f66270 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=spotifyd
pkgname=('spotifyd' 'spotifyd-pulseaudio' 'spotifyd-dbus-mpris' 'spotifyd-full')
-pkgver=0.2.10
+pkgver=0.2.11
pkgrel=1
arch=('x86_64' 'armv7h' 'aarch64')
license=('GPL3')
@@ -13,31 +13,25 @@ makedepends=('cargo' 'libpulse' 'dbus')
pkgdesc="A spotify playing daemon"
url="https://github.com/Spotifyd/$pkgbase"
source=("$pkgbase-$pkgver.tar.gz::https://github.com/Spotifyd/$pkgbase/archive/$pkgver.tar.gz")
-sha256sums=('ffd322506bc28590b07f71edf98f159c137ab4ff47963efc2e7a90b7556f4660')
+sha256sums=('186c9ca3cbd3ad9227e8d776f6fbcfee0fc44e0272e3c5d975aa803896861b8b')
_features=(''
'pulseaudio_backend'
'dbus_mpris'
'pulseaudio_backend,dbus_mpris,dbus_keyring'
)
-prepare() {
- cd "$srcdir/spotifyd-$pkgver"
-}
-
build() {
cd "$srcdir/spotifyd-$pkgver"
# Compile all variants. Compilation for later features can reuse
# previous build artifacts, so little overhead.
for feature in "${_features[@]}"; do
- # 0.2.10 cannot build in --locked mode, see:
- # https://github.com/Spotifyd/spotifyd/issues/255
- cargo build --release --features "$feature"
+ cargo build --release --locked --features "$feature"
done
}
_package_feature() {
# Create a package for a particular feature.
- cargo install --root "$pkgdir/usr" --path "$srcdir/$pkgbase-$pkgver" --features "$1"
+ cargo install --locked --root "$pkgdir/usr" --path "$srcdir/$pkgbase-$pkgver" --features "$1"
rm "$pkgdir/usr/.crates.toml"
install -D -m 644 "$srcdir/$pkgbase-$pkgver/contrib/spotifyd.service" "$pkgdir/usr/lib/systemd/user/spotifyd.service"
}