From 60820bd4bf7adf36a2c0b9a6e82e40383e7d3da3 Mon Sep 17 00:00:00 2001 From: Lukas Jordan Date: Sun, 2 Apr 2023 11:33:40 +0200 Subject: [PATCH] ncspot: update to 0.13.0. --- srcpkgs/ncspot/template | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ncspot/template b/srcpkgs/ncspot/template index 2144ec2f6d24..e8ecc9cfc742 100644 --- a/srcpkgs/ncspot/template +++ b/srcpkgs/ncspot/template @@ -1,6 +1,6 @@ # Template file for 'ncspot' pkgname=ncspot -version=0.11.2 +version=0.13.0 revision=2 build_style=cargo configure_args="--features alsa_backend,cover" @@ -11,11 +11,21 @@ short_desc="Cross-platform ncurses Spotify client" maintainer="Omar Zeghouani " license="BSD-2-Clause" homepage="https://github.com/hrkfdn/ncspot" -distfiles="https://github.com/hrkfdn/ncspot/archive/v${version}.tar.gz" -checksum=0fd9696e13912b906605e9972bf3b2a8a68688cce17478353713550801c94fab +changelog="https://github.com/hrkfdn/ncspot/releases" +distfiles="https://github.com/hrkfdn/ncspot/archive/refs/tags/v${version}.tar.gz" +checksum=35210f8237a20eb894dc6b7cc517e60c82c2e93ff5940c267fe0bf673eccc411 + +post_build() { + cargo xtask generate-manpage + cargo xtask generate-shell-completion +} post_install() { vlicense LICENSE vinstall misc/ncspot.desktop 644 usr/share/applications vinstall images/logo.svg 644 usr/share/icons/hicolor/scalable/apps ncspot.svg + vman misc/ncspot.1 + vcompletion misc/ncspot.bash bash + vcompletion misc/_ncspot zsh + vcompletion misc/ncspot.fish fish }