summaryrefslogtreecommitdiff
path: root/vue-cli
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-07-07 14:52:31 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-07-07 14:52:31 +0200
commit4a39662d1d86c5bc482e0639faa206534f5af091 (patch)
tree43c6f8407e620746f9007de77ec9692fd6d9f4b4 /vue-cli
parent38bf686e2efa2a524b10231ca443b64b422416b5 (diff)
downloadarchlinuxewe-4a39662d1d86c5bc482e0639faa206534f5af091.tar.xz
-: 4.5.15-1 -> 5.0.8-1
Diffstat (limited to 'vue-cli')
-rw-r--r--vue-cli/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/vue-cli/PKGBUILD b/vue-cli/PKGBUILD
index 1bc34aad0..9099b43af 100644
--- a/vue-cli/PKGBUILD
+++ b/vue-cli/PKGBUILD
@@ -9,7 +9,7 @@ _npmname=cli
_npmid="@$_npmscope/$_npmname"
pkgname="${_npmscope}-${_npmname}"
-pkgver=4.5.15
+pkgver=5.0.8
pkgrel=1
pkgdesc='Standard tooling for Vue.js development'
arch=('any')
@@ -21,7 +21,7 @@ optdepends=()
conflicts=('nodejs-vue-cli' 'vue')
source=("$pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_npmid/-/$_npmname-$pkgver.tgz")
noextract=("${source[@]%%::*}")
-sha256sums=('1b30ab732dd74684212623a1b25853905f3b788d4a2ddb5bf8de80107ee53bf2')
+sha512sums=('73f40a3dd0b4f5b6245b6da6fdba1790b6a2cf5d33d19d961d93bbcc478d75f49dbaac9620d66129cea1550537564d0d5d6ec124077bcd699c52b0bc2fd4ee00')
package() {
mkdir -p "${pkgdir}"/usr/lib
@@ -40,7 +40,9 @@ package() {
# Package contains reference to $srcdir/$pkgdir
find "${pkgdir}" -type f -name package.json -execdir sed -i '/_where/d' {} \+
- sed -i "s|$pkgdir||" "$pkgdir"/usr/lib/node_modules/"$_npmid"/node_modules/sshpk/package.json
+ find "$pkgdir"/usr/lib/node_modules/"$_npmid"/node_modules \
+ -name package.json \
+ -exec sed -i "s|$pkgdir||" {} \;
# Add license
install -Dm644 "$pkgdir/usr/lib/node_modules/$_npmid/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"