Skip to content

Commit

Permalink
Merge pull request #17 from hapakaien/hotfix/ncspot-bin/license-and-c…
Browse files Browse the repository at this point in the history
…onflicted-package

fix(ncspot-bin): license and conflicted package
  • Loading branch information
heyhusen authored Apr 28, 2022
2 parents ea1de64 + 7723827 commit 391d528
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
5 changes: 4 additions & 1 deletion ncspot-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -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
11 changes: 6 additions & 5 deletions ncspot-bin/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 391d528

Please sign in to comment.