Pkgfile 529 B

12345678910111213141516171819
  1. # Description: Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
  2. # URL: https://github.com/hrkfdn/ncspot
  3. # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
  4. # Depends on: rust pulseaudio
  5. name=ncspot
  6. version=1.2.1
  7. release=1
  8. source=(https://github.com/hrkfdn/ncspot/archive/v$version/$name-$version.zip)
  9. build() {
  10. cd $name-$version
  11. cargo fetch --locked
  12. cargo build --release --locked
  13. install -Dm 755 "target/release/$name" "$PKG/usr/bin/$name"
  14. }