summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Feletto2020-11-13 12:17:45 +0100
committerAndrea Feletto2020-11-13 12:17:45 +0100
commit101ec79083804e01b52989ddc97236017b335725 (patch)
treee693306f473d6311e93c59a37dd01c5434b6585e
parent7d100f57554b73612a5803b57f63da47c57cae0c (diff)
downloadaur-nodejs-string-width.tar.gz
added missing dependencies
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 11 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0763d3a5fe13..f46959eb3881 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,15 @@
pkgbase = nodejs-string-width
pkgdesc = Get the visual width of a string.
pkgver = 4.2.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/sindresorhus/string-width
arch = any
license = MIT
makedepends = npm
depends = nodejs
+ depends = nodejs-emoji-regex
+ depends = nodejs-is-fullwidth-code-point
+ depends = nodejs-strip-ansi
noextract = string-width-4.2.0.tar.gz
source = string-width-4.2.0.tar.gz::https://github.com/sindresorhus/string-width/archive/v4.2.0.tar.gz
sha256sums = ed442beb06ff8beb24235a38af520b971befdfb68fba6ae7130cf7f402efc6d8
diff --git a/PKGBUILD b/PKGBUILD
index f25a5307fd5e..bcc391fe3c06 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,17 @@
pkgname=nodejs-string-width
_pkgname=${pkgname#*-}
pkgver=4.2.0
-pkgrel=1
+pkgrel=2
pkgdesc='Get the visual width of a string.'
arch=('any')
url='https://github.com/sindresorhus/string-width'
license=('MIT')
-depends=('nodejs')
+depends=(
+ 'nodejs'
+ 'nodejs-emoji-regex'
+ 'nodejs-is-fullwidth-code-point'
+ 'nodejs-strip-ansi'
+)
makedepends=('npm')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/sindresorhus/$_pkgname/archive/v$pkgver.tar.gz")
noextract=("$_pkgname-$pkgver.tar.gz")