Date: Monday, February 27, 2023 @ 17:52:49
Author: dvzrv
Revision: 1405517
archrelease: copy trunk to community-any
Added:
dot-language-server/repos/community-any/PKGBUILD
(from rev 1405516, 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-02-27 17:52:36 UTC (rev 1405516)
+++ PKGBUILD 2023-02-27 17:52:49 UTC (rev 1405517)
@@ -1,88 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-pkgname=dot-language-server
-pkgver=1.1.24
-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=('a37483778df2400c354e183e434ac96f7330297109bbb5a08b3bfa0fa5787bea80700b4d2cc839157ea9463ed61c0545f38298d4e0ae22b1a0c865b39ff99bb6')
-b2sums=('d8802713cca7deed474446166eb87fdfc0193c15b4aa4afc3bfbc0485eeaae95df4040151c2bcbcb6c7fb13cc3dc176c91a42e114e832be1d5c02d5175a41e52')
-
-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 1405516,
dot-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-27 17:52:49 UTC (rev 1405517)
@@ -0,0 +1,88 @@
+# Maintainer: David Runge <[email protected]>
+
+pkgname=dot-language-server
+pkgver=1.1.25
+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=('bebdc747a9e5d8af789c3ea2a872b85713fda9abe6207f720ae1abaeb465aae229393b372feb0ea0ab5acb883499730e1de782851d35387cee14e1cf7984b882')
+b2sums=('c9f4ffb0de94023a682430b903ad8e24dd41d87fc2d70144a97d448ea269ac7c5ec0a16270476b3d2708e9e108dd0faf2a355c89ef6f0ef036b124da31098d80')
+
+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"
+}