feat: add ncspot-bin package

This commit is contained in:
Ahmad Husen 2021-09-29 20:35:56 +07:00
commit c9349fbff8
2 changed files with 32 additions and 0 deletions

13
.SRCINFO Normal file
View file

@ -0,0 +1,13 @@
pkgbase = ncspot-bin
pkgdesc = Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
pkgver = 0.8.1
pkgrel = 1
url = https://github.com/hrkfdn/ncspot
arch = x86_64
license = BSD
provides = ncspot
conflicts = ncspot
source = https://github.com/hrkfdn/ncspot/releases/download/v0.8.1/ncspot-v0.8.1-linux.tar.gz
sha512sums = af66fddf2e4e9a2d08f7609b843cefcd6672f73580a81397b2b1d0f1dfb21497b6a1801f68d3544bc48477076731c871a2402cea871522239d2bf9b194345079
pkgname = ncspot-bin

19
PKGBUILD Normal file
View file

@ -0,0 +1,19 @@
# Maintainer: A. Husen <hi@husen.id>
pkgname=ncspot-bin
_pkgname=ncspot
pkgver=0.8.1
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')
provides=('ncspot')
conflicts=('ncspot')
source=("${url}/releases/download/v${pkgver}/ncspot-v${pkgver}-linux.tar.gz")
sha512sums=('af66fddf2e4e9a2d08f7609b843cefcd6672f73580a81397b2b1d0f1dfb21497b6a1801f68d3544bc48477076731c871a2402cea871522239d2bf9b194345079')
package() {
cd "$srcdir"
install -Dm755 $_pkgname "${pkgdir}/usr/bin/${_pkgname}"
}