void-packages/srcpkgs/spotify-tui/template

23 lines
667 B
Bash

# Template file for 'spotify-tui'
pkgname=spotify-tui
version=0.21.0
revision=1
build_style=cargo
hostmakedepends="pkg-config python3"
makedepends="libressl-devel python3-devel libxcb-devel"
short_desc="Spotify for the terminal"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/Rigellute/spotify-tui"
distfiles="https://github.com/Rigellute/spotify-tui/archive/v${version}.tar.gz"
checksum=f12103c592c49857ea97f78079a30f38c97d449879a9b71801ce406f2df67fee
pre_build() {
cargo update --package openssl-sys --precise 0.9.58
}
post_install() {
mv ${DESTDIR}/usr/bin/spt ${DESTDIR}/usr/bin/spotify-tui
vlicense LICENSE
}