void-packages/srcpkgs/spotify-tui/template
2021-09-09 13:22:21 -05:00

22 lines
666 B
Bash

# Template file for 'spotify-tui'
pkgname=spotify-tui
version=0.25.0
revision=1
build_style=cargo
hostmakedepends="pkg-config python3"
makedepends="openssl-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=9d6fa998e625ceff958a5355b4379ab164ba76575143a7b6d5d8aeb6c36d70a7
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
}