Date: Saturday, April 22, 2023 @ 17:15:38
Author: dvzrv
Revision: 1448325
archrelease: copy trunk to community-any
Added:
dot-language-server/repos/community-any/PKGBUILD
(from rev 1448324, dot-language-server/trunk/PKGBUILD)
Deleted:
dot-language-server/repos/community-any/PKGBUILD
----------+
PKGBUILD | 176 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 88 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-22 17:15:29 UTC (rev 1448324)
+++ PKGBUILD 2023-04-22 17:15:38 UTC (rev 1448325)
@@ -1,88 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-pkgname=dot-language-server
-pkgver=1.1.26
-pkgrel=1
-pkgdesc="A language server for the DOT language"
-arch=(any)
-url="https://github.com/nikeee/dot-language-server"
-license=(MIT)
-depends=(nodejs)
-makedepends=(npm)
-source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
-sha512sums=('1d8f9ae848b612ad2d5ee6e35d0b644ccac38f3f65a7164677b4db3b9fd7ef687b82cc39815fdd7e500bb94f95c4e086811803f4dd70930aafe198f70fd94ccb')
-b2sums=('f02ca64f17a651d009500bf80d11071e0541dc38ba43020cc694d04414c37a87bbce66b91a3fb483a98810645578b76c5f5ce9ebf9689c51bb3adfbf09ff07db')
-
-build() {
- cd $pkgname-$pkgver
- npm install --cache "$srcdir"/npm-cache
-}
-
-check() {
- cd $pkgname-$pkgver
- npm test
-}
-
-package() {
- local find_files=(
- -iname '*Makefile*' -o
- -iname '*appveyor.yml' -o
- -iname '*.babelrc' -o
- -iname '*.bak' -o
- -iname '*bower.json' -o
- -iname '*.c' -o
- -iname '*.cc' -o
- -iname '*.cpp' -o
- -iname '*.md' -o
- -iname '*.markdown' -o
- -iname '*.rst' -o
- -iname '*.nycrc' -o
- -iname '*.npmignore' -o
- -iname '*.editorconfig' -o
- -iname '*.el' -o
- -iname '*.eslintignore' -o
- -iname '*.eslintrc*' -o
- -iname '*.fimbullinter.yaml' -o
- -iname '*.gitattributes' -o
- -iname '*.gitignore' -o
- -iname '*.gitmodules' -o
- -iname '*.h' -o
- -iname '*.html' -o
- -iname '*.jshintrc' -o
- -iname '*.jscs.json' -o
- -iname '*.log' -o
- -iname '*logo.svg' -o
- -iname '*.nvmrc' -o
- -iname '*.o' -o
- -iname '*package-lock.json' -o
- -iname '*.travis.yml' -o
- -iname '*.prettierrc' -o
- -iname '*.sh' -o
- -iname '*.tags*' -o
- -iname '*.tm_properties' -o
- -iname '*.wotanrc.yaml' -o
- -iname '*tsconfig.json' -o
- -iname '*yarn.lock'
- )
- local find_dirs=(
- -iwholename '*.github' -o
- -iwholename '*.idea' -o
- -iwholename '*.tscache' -o
- -iwholename '*/man' -o
- -iwholename '*/test' -o
- -iwholename '*/scripts' -o
- -iwholename '*/git-hooks'
- )
-
- cd $pkgname-$pkgver
- # remove unneeded files
- find node_modules -type f \( "${find_files[@]}" \) -delete
- find node_modules -type d \( "${find_dirs[@]}" \) -exec rm -rvf {} +
-
- install -vdm 755 "$pkgdir/usr/lib/node_modules/$pkgname/"
- # copy vendored modules, lib and entry point
- cp -av {bin,doc,lib,node_modules,package.json}
"$pkgdir/usr/lib/node_modules/$pkgname/"
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -vdm 755 "$pkgdir/usr/bin/"
- ln -sv /usr/lib/node_modules/$pkgname/bin/server.js
"$pkgdir/usr/bin/$pkgname"
-}
Copied: dot-language-server/repos/community-any/PKGBUILD (from rev 1448324,
dot-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-22 17:15:38 UTC (rev 1448325)
@@ -0,0 +1,88 @@
+# Maintainer: David Runge <[email protected]>
+
+pkgname=dot-language-server
+pkgver=1.1.27
+pkgrel=1
+pkgdesc="A language server for the DOT language"
+arch=(any)
+url="https://github.com/nikeee/dot-language-server"
+license=(MIT)
+depends=(nodejs)
+makedepends=(npm)
+source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
+sha512sums=('eb1b79820c7ff3fb83a38c86670be17561e9d04ac6c8311f2694502d1b18dc8bd789885bfccc09e94636796af929cec1f77fd0cbdd2e2ec64e6a2c50a9f1ddcd')
+b2sums=('20a8614b8582e76123f06c1ba06b2403a96cf5fa65ecdea67ed38b38993158df5a1d8ac3527102f6699b729054970c6bf7744ecca19019ec7b0396e1c2c85215')
+
+build() {
+ cd $pkgname-$pkgver
+ npm install --cache "$srcdir"/npm-cache
+}
+
+check() {
+ cd $pkgname-$pkgver
+ npm test
+}
+
+package() {
+ local find_files=(
+ -iname '*Makefile*' -o
+ -iname '*appveyor.yml' -o
+ -iname '*.babelrc' -o
+ -iname '*.bak' -o
+ -iname '*bower.json' -o
+ -iname '*.c' -o
+ -iname '*.cc' -o
+ -iname '*.cpp' -o
+ -iname '*.md' -o
+ -iname '*.markdown' -o
+ -iname '*.rst' -o
+ -iname '*.nycrc' -o
+ -iname '*.npmignore' -o
+ -iname '*.editorconfig' -o
+ -iname '*.el' -o
+ -iname '*.eslintignore' -o
+ -iname '*.eslintrc*' -o
+ -iname '*.fimbullinter.yaml' -o
+ -iname '*.gitattributes' -o
+ -iname '*.gitignore' -o
+ -iname '*.gitmodules' -o
+ -iname '*.h' -o
+ -iname '*.html' -o
+ -iname '*.jshintrc' -o
+ -iname '*.jscs.json' -o
+ -iname '*.log' -o
+ -iname '*logo.svg' -o
+ -iname '*.nvmrc' -o
+ -iname '*.o' -o
+ -iname '*package-lock.json' -o
+ -iname '*.travis.yml' -o
+ -iname '*.prettierrc' -o
+ -iname '*.sh' -o
+ -iname '*.tags*' -o
+ -iname '*.tm_properties' -o
+ -iname '*.wotanrc.yaml' -o
+ -iname '*tsconfig.json' -o
+ -iname '*yarn.lock'
+ )
+ local find_dirs=(
+ -iwholename '*.github' -o
+ -iwholename '*.idea' -o
+ -iwholename '*.tscache' -o
+ -iwholename '*/man' -o
+ -iwholename '*/test' -o
+ -iwholename '*/scripts' -o
+ -iwholename '*/git-hooks'
+ )
+
+ cd $pkgname-$pkgver
+ # remove unneeded files
+ find node_modules -type f \( "${find_files[@]}" \) -delete
+ find node_modules -type d \( "${find_dirs[@]}" \) -exec rm -rvf {} +
+
+ install -vdm 755 "$pkgdir/usr/lib/node_modules/$pkgname/"
+ # copy vendored modules, lib and entry point
+ cp -av {bin,doc,lib,node_modules,package.json}
"$pkgdir/usr/lib/node_modules/$pkgname/"
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vdm 755 "$pkgdir/usr/bin/"
+ ln -sv /usr/lib/node_modules/$pkgname/bin/server.js
"$pkgdir/usr/bin/$pkgname"
+}