Change arch and add provides to fix package conflict

This commit is contained in:
David Birks 2019-06-20 13:10:55 -04:00
parent 1b5526c273
commit 75d1dbbf0f
No known key found for this signature in database
GPG key ID: BB999F83D9A19A36
2 changed files with 8 additions and 9 deletions

View file

@ -3,10 +3,11 @@ pkgbase = trello-cli
pkgver = 0.3.0
pkgrel = 1
url = https://github.com/mheap/trello-cli
arch = any
arch = x86_64
license = BSD
depends = nodejs
depends = npm
provides = trello
noextract = trello-cli-0.3.0.tgz
source = https://registry.npmjs.org/trello-cli/-/trello-cli-0.3.0.tgz
sha512sums = 53606cc12ead1b4c525e813ae1c8414d35563cd1460215f9e20dffccd106959b834e3d48bbb1051952d6ab1500f05eb7a6b75a7308f5ddf2af1adc12d10fe673

View file

@ -3,14 +3,14 @@
pkgname=trello-cli
pkgver=0.3.0
pkgrel=1
pkgdesc="Trello CLI tool"
arch=(any)
url="https://github.com/mheap/trello-cli"
pkgdesc='Trello CLI tool'
arch=('x86_64')
url='https://github.com/mheap/trello-cli'
license=(BSD)
depends=('nodejs' 'npm')
optdepends=()
source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
noextract=($pkgname-$pkgver.tgz)
provides=('trello')
source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
noextract=("$pkgname-$pkgver.tgz")
sha512sums=('53606cc12ead1b4c525e813ae1c8414d35563cd1460215f9e20dffccd106959b834e3d48bbb1051952d6ab1500f05eb7a6b75a7308f5ddf2af1adc12d10fe673')
package() {
@ -20,5 +20,3 @@ package() {
cd $_npmdir
npm install -g --prefix "$pkgdir/usr" $pkgname@$pkgver
}
# vim:set ts=2 sw=2 et: