diff options
author | Nick Boughton | 2020-06-12 14:06:08 +0100 |
---|---|---|
committer | Nick Boughton | 2020-06-12 14:06:08 +0100 |
commit | 3277f62e34ef1379547f0b5c7368eab7dea42db3 (patch) | |
tree | 9bc73d8ce0ef0b9c6ea54e231e7dea98def3e52c | |
parent | 39af479049c8a5fa3b838dc74a09029e021a40ff (diff) | |
download | aur-3277f62e34ef1379547f0b5c7368eab7dea42db3.tar.gz |
implemented node packaging guidelines
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -39,8 +39,6 @@ package() { # print first line (the '{' symbol) and lines from the first non-underscored key to the end # (npm internal keys are underscored but we don't need these keys) sed -i -n '1p;/ "[^_].*": {$/,$p' "$pkgdir"/usr/lib/node_modules/"$_npmid"/package.json -# sed -i "s|$pkgdir||" "$pkgdir"/usr/lib/node_modules/"$_npmid"/node_modules/sshpk/package.json -# sed -i "s|$pkgdir||" "$pkgdir"/usr/lib/node_modules/"$_npmid"/node_modules/he/package.json # Add license install -Dm644 "$pkgdir/usr/lib/node_modules/$_npmid/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" |