diff --git a/.SRCINFO b/.SRCINFO index fb3646fbf168..90fe09d9084e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,16 @@ pkgbase = ncspot-bin pkgdesc = Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes. pkgver = 0.9.7 - pkgrel = 1 + pkgrel = 2 url = https://github.com/hrkfdn/ncspot arch = x86_64 license = BSD provides = ncspot conflicts = ncspot + conflicts = ncspot-git source = https://github.com/hapakaien/aur-packages/releases/download/ncspot%40v0.9.7/ncspot-v0.9.7-linux-x86_64.tar.gz + source = https://github.com/hrkfdn/ncspot/raw/main/LICENSE sha512sums = 67a9f77d936da6cc8f2c118cc44067bdc124cf1eff5ba85c41f4912167a1154225ba62c8afe68ceb7a348184882095c96aead6bec43249829a15f832c33361cb + sha512sums = SKIP pkgname = ncspot-bin diff --git a/PKGBUILD b/PKGBUILD index 5fc1a9d9b509..4ec404ba3eab 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,18 +2,19 @@ pkgname=ncspot-bin _pkgname=ncspot pkgver=0.9.7 -pkgrel=1 +pkgrel=2 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=("https://github.com/hapakaien/aur-packages/releases/download/ncspot%40v${pkgver}/ncspot-v${pkgver}-linux-x86_64.tar.gz") -sha512sums=('67a9f77d936da6cc8f2c118cc44067bdc124cf1eff5ba85c41f4912167a1154225ba62c8afe68ceb7a348184882095c96aead6bec43249829a15f832c33361cb') +conflicts=('ncspot' 'ncspot-git') +source=("https://github.com/hapakaien/aur-packages/releases/download/ncspot%40v${pkgver}/ncspot-v${pkgver}-linux-x86_64.tar.gz" "${url}/raw/main/LICENSE") +sha512sums=('67a9f77d936da6cc8f2c118cc44067bdc124cf1eff5ba85c41f4912167a1154225ba62c8afe68ceb7a348184882095c96aead6bec43249829a15f832c33361cb' 'SKIP') package() { cd "$srcdir" - install -Dm755 $_pkgname "${pkgdir}/usr/bin/${_pkgname}" + install -Dm 755 $_pkgname "${pkgdir}/usr/bin/${_pkgname}" + install -Dm 755 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" }