void-packages/srcpkgs/spotify-tui/template
2021-01-08 07:27:45 -06:00

22 lines
667 B
Bash

# Template file for 'spotify-tui'
pkgname=spotify-tui
version=0.23.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=836a686c78599431b7e4dcf4a2830d16b25d28bdc4f35d79f0d5e8c000788da7
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
}