diff --git a/projects/crates.io/spotify_player/package.yml b/projects/crates.io/spotify_player/package.yml new file mode 100644 index 00000000..f34c3bb2 --- /dev/null +++ b/projects/crates.io/spotify_player/package.yml @@ -0,0 +1,27 @@ +distributable: + url: https://github.com/aome510/spotify-player/archive/refs/tags/{{version.tag}}.tar.gz + strip-components: 1 + +provides: + - bin/spotify_player + +versions: + github: aome510/spotify-player + strip: /v/ + +dependencies: + openssl.org: ^1.1 + linux: + alsa-project.org/alsa-lib: ^1 + freedesktop.org/dbus: ^1 + +build: + dependencies: + rust-lang.org: '>=1.60' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path spotify_player --root {{prefix}} + +test: + script: + - test "$(spotify_player --version)" = "spotify_player {{version}}"