void-packages/srcpkgs/spotify-tui/template
2020-10-07 08:20:41 -06:00

22 lines
667 B
Bash

# Template file for 'spotify-tui'
pkgname=spotify-tui
version=0.22.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=3bac0ca34db6b71721af66ba423cea59780c43410bfb52d870198facc6a6a906
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
}