summaryrefslogtreecommitdiff
path: root/spotifyd
diff options
context:
space:
mode:
Diffstat (limited to 'spotifyd')
-rw-r--r--spotifyd/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/spotifyd/APKBUILD b/spotifyd/APKBUILD
index a404460..a3e1258 100644
--- a/spotifyd/APKBUILD
+++ b/spotifyd/APKBUILD
@@ -1,7 +1,8 @@
# Contributor: Karel Kočí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
pkgname=spotifyd
-pkgver=0.2.24-20200704
+pkgver=0.2.24.20200704
+commit=1ee048fd40904a05d673f1d6082150c6dff16810
pkgrel=1
pkgdesc="A spotify daemon"
url="https://github.com/Spotifyd/spotifyd"
@@ -14,12 +15,17 @@ makedepends="cargo alsa-lib-dev openssl-dev"
source="
spotifyd.init
spotifyd.conf
- $pkgname-$pkgver.tar.gz::https://github.com/Spotifyd/spotifyd/archive/1ee048fd40904a05d673f1d6082150c6dff16810.tar.gz
+ $pkgname-$pkgver.tar.gz::https://github.com/Spotifyd/spotifyd/archive/$commit.tar.gz
"
install="$pkgname.pre-install"
export CARGO_HOME="$srcdir/cargo"
+unpack() {
+ default_unpack
+ mv "$pkgname-$commit" "$builddir"
+}
+
build() {
cargo build --release
}
@@ -32,4 +38,4 @@ package() {
sha512sums="151a01af3dd6833d0e058178e8839dd9e53ab9f43a3acd1d86200affc14b457fc00f7500f3dd69635b79a057d70325260264a5d043ac433b1ef4af355b94ad88 spotifyd.init
37bf97478d5c9ed9bb9495efeb244c049a4c5eb7a75c19e431a29acdbca6e0e79ddd1089ffbd62c42e402063ab84cd6604bac4db1d8c98e613ca78fb35209ca3 spotifyd.conf
-9b5cc0e981aeadc06096cca9bf69a8c0e7be8b40e39fac68c4b116e8e03a4c7faa0de5c7122e305acd490310bb331ac91d33fd7f77085f33346cf8c0ddae6436 spotifyd-0.2.24-20200704.tar.gz"
+9b5cc0e981aeadc06096cca9bf69a8c0e7be8b40e39fac68c4b116e8e03a4c7faa0de5c7122e305acd490310bb331ac91d33fd7f77085f33346cf8c0ddae6436 spotifyd-0.2.24.20200704.tar.gz"