summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristoph Gysin2017-08-16 23:36:35 +0300
committerChristoph Gysin2017-08-16 23:36:35 +0300
commit18b7bb4a639e1350cff3ff3dfc87dd43ddb99fb1 (patch)
tree40ed88f8b3c375cc9236b707e43973103a56143f /PKGBUILD
parenta92921a4c26767d164c83f688b023ccb29e378ed (diff)
downloadaur-18b7bb4a639e1350cff3ff3dfc87dd43ddb99fb1.tar.gz
use provided librespot.service
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 43eb237227a..faa6b72f596 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=librespot-git
_pkgname=librespot
-pkgver=320.eb49ff3
+pkgver=357.ddfc28f
pkgrel=1
epoch=1
pkgdesc="An open source client library for Spotify."
@@ -13,13 +13,10 @@ depends=('rust' 'protobuf')
makedepends=('cargo' 'portaudio')
provides=('librespot')
conflicts=('librespot')
-backup=('etc/librespot.conf')
source=('git+https://github.com/plietar/librespot'
- 'librespot.conf'
- 'librespot.service')
+ 'librespot.conf')
sha256sums=('SKIP'
- '3d48207e0be5cf2e68a9ecfd8f418aa1d71fa7f97d562780aa73d2db1a46cac5'
- 'c41110008b16929c7e5f71512cea8dcf92fab36455a61bc2d56ced731918c602')
+ '3d48207e0be5cf2e68a9ecfd8f418aa1d71fa7f97d562780aa73d2db1a46cac5')
pkgver()
{
@@ -31,7 +28,7 @@ build()
{
cd "$_pkgname"
cargo build \
- --features pulseaudio-backend \
+ --features alsa-backend \
--release
}
@@ -39,9 +36,6 @@ package()
{
install -D -m 755 "$_pkgname"/target/release/librespot \
"$pkgdir"/usr/bin/librespot
- install -d -m 755 "$pkgdir"/var/cache/librespot
- install -D -m 640 librespot.conf \
- "$pkgdir"/etc/librespot.conf
- install -D -m 644 librespot.service \
+ install -D -m 644 "$_pkgname"/contrib/librespot.service \
"$pkgdir"/usr/lib/systemd/system/librespot.service
}