aboutsummaryrefslogtreecommitdiff
path: root/personal/spotifyd/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-25 03:11:09 +0300
committerCem Keylan <cem@ckyln.com>2020-12-25 03:11:09 +0300
commit73c73e33976dc28258ca4fd0b5a220ff8f24957d (patch)
tree421776dab7b922f846032071f382261eebd929cf /personal/spotifyd/build
parent86d1a40e690df6ca8397c2f3ddbe26df88ec75d8 (diff)
downloadrepository-73c73e33976dc28258ca4fd0b5a220ff8f24957d.tar.gz
abook,shinit,spotifyd: drop
Diffstat (limited to 'personal/spotifyd/build')
-rwxr-xr-xpersonal/spotifyd/build37
1 files changed, 0 insertions, 37 deletions
diff --git a/personal/spotifyd/build b/personal/spotifyd/build
deleted file mode 100755
index 6e81884..0000000
--- a/personal/spotifyd/build
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh -e
-
-export CARGO_HOME=$PWD
-
-(
- cd vendor
-
- for crate in *.crate; do
- tar xf "$crate"
-
- # Strip the filename from the sha256sum output.
- sha256=$(sha256sum "$crate")
- sha256=${sha256%% *}
-
- printf '{"package":"%s","files":{}}\n' "$sha256" \
- > "${crate%.crate}/.cargo-checksum.json"
- done
-)
-
-mkdir -p .cargo
-
-cat <<EOF > .cargo/config
-[source.crates-io]
-replace-with = "vendored-sources"
-
-[source.vendored-sources]
-directory = "vendor"
-EOF
-
-
-cargo build \
- --release \
- --frozen \
- --no-default-features \
- --features alsa_backend
-
-install -Dm755 target/release/spotifyd "$1/usr/bin/spotifyd"