blob: 5e7385c8064a3305d70e4df6aa9e0ed300107a6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Karel Kočí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
pkgname=spotifyd
pkgver=0.3.3
pkgrel=1
pkgdesc="A spotify daemon"
url="https://github.com/Spotifyd/spotifyd"
arch="all"
license="GPLv3"
options="!check net"
makedepends="cargo alsa-lib-dev openssl-dev"
source="
spotifyd.init
spotifyd.conf
$pkgname-$pkgver.tar.gz::https://github.com/Spotifyd/spotifyd/archive/v$pkgver.tar.gz
"
install="$pkgname.pre-install"
export CARGO_HOME="$srcdir/cargo"
build() {
cargo build --release
}
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="
151a01af3dd6833d0e058178e8839dd9e53ab9f43a3acd1d86200affc14b457fc00f7500f3dd69635b79a057d70325260264a5d043ac433b1ef4af355b94ad88 spotifyd.init
37bf97478d5c9ed9bb9495efeb244c049a4c5eb7a75c19e431a29acdbca6e0e79ddd1089ffbd62c42e402063ab84cd6604bac4db1d8c98e613ca78fb35209ca3 spotifyd.conf
bb8522a022ce1a4cd6a075b865f274ef4a6a5c6b37c44cb909637183cda1299d2218091ebec0f58b68233a74c17041d002557cad0137ee58ad123ec1587a921d spotifyd-0.3.3.tar.gz
"
|