Date: Sunday, April 2, 2023 @ 20:37:14
  Author: kgizdov
Revision: 1434240

upgpkg: ncspot 0.13.0-1

Modified:
  ncspot/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-02 20:16:56 UTC (rev 1434239)
+++ PKGBUILD    2023-04-02 20:37:14 UTC (rev 1434240)
@@ -2,17 +2,17 @@
 # Contributor: Alejandro Valdes <alejandrovaldes at live dot com>
 
 pkgname=ncspot
-pkgver=0.12.0
-pkgrel=5
+pkgver=0.13.0
+pkgrel=1
 pkgdesc="Cross-platform ncurses Spotify client written in Rust, inspired by 
ncmpc and the likes."
 arch=('x86_64')
 url="https://github.com/hrkfdn/ncspot";
 license=('BSD')
 depends=('openssl' 'libpulse' 'libxcb' 'dbus' 'hicolor-icon-theme')
-makedepends=('cargo' 'python' 'pkgconf' 'ueberzug')
+makedepends=('cargo' 'python' 'pkgconf' 'ueberzug' 'pandoc-cli')
 optdepends=('ueberzug: display album art in terminal (X11)')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hrkfdn/ncspot/archive/v${pkgver}.tar.gz";)
-b2sums=('babf8796ce7f7d8055a5c345a36572237cf573f9bb4560fa5e2a7be28efa17fefa2add9278c85f0e139523aa787fe915aa6f03fa0432787eef838e5c14685414')
+b2sums=('e2cb197d25b2c8fee13e07decdf7af57ff50e975043d88154b7caf36007ef4ca85cb8403ca031313ee358d46da6a24f373b7a8603c5bbd931d811c5f6ae393ea')
 options=('!lto')
 
 prepare() {
@@ -25,6 +25,8 @@
   export RUSTUP_TOOLCHAIN=stable
   export CARGO_TARGET_DIR=target
   cargo build --frozen --release --features cover
+  # generate docs
+  pandoc README.md -t man -s --columns=500 | grep -vE "\[IMAGE:|Click to 
show/hide" > ncspot.1
 }
 
 check() {
@@ -39,4 +41,5 @@
   install -Dm 644 "misc/ncspot.desktop" 
"${pkgdir}/usr/share/applications/ncspot.desktop"
   install -Dm 644 "images/logo.svg" 
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/ncspot.svg"
   install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 "ncspot.1" "${pkgdir}/usr/share/man/man1/ncspot.1"
 }

Reply via email to