1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Correct license path and type.

This commit is contained in:
2019-04-30 11:13:43 +02:00
parent cee6c1bd73
commit a5c657d13b
2 changed files with 5 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
pkgbase = nodejs-node-pre-gyp
pkgdesc = Node.js tool for easy binary deployment of C++ addons
pkgver = 0.12.0
pkgrel = 1
pkgrel = 2
url = https://github.com/mapbox/node-pre-gyp
arch = any
license = GPL
license = BSD
makedepends = npm
makedepends = jq
depends = nodejs

View File

@@ -2,11 +2,11 @@
_npmname=node-pre-gyp
pkgname=nodejs-node-pre-gyp
pkgver=0.12.0
pkgrel=1
pkgrel=2
pkgdesc="Node.js tool for easy binary deployment of C++ addons "
arch=('any')
url="https://github.com/mapbox/node-pre-gyp"
license=('GPL')
license=('BSD')
depends=('nodejs')
makedepends=('npm' 'jq')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
@@ -27,6 +27,6 @@ package() {
chmod 644 "$pkgjson"
# Install LICENSE in a more findable spot.
install -Dm644 -t "$pkgdir/usr/share/licences/$pkgname" \
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/lib/node_modules/$_npmname/LICENSE"
}