Date: Saturday, March 25, 2023 @ 19:57:41
Author: dvzrv
Revision: 1427978
archrelease: copy trunk to community-any
Added:
dot-language-server/repos/community-any/PKGBUILD
(from rev 1427977, 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-03-25 19:57:24 UTC (rev 1427977)
+++ PKGBUILD 2023-03-25 19:57:41 UTC (rev 1427978)
@@ -1,88 +0,0 @@
-# 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"
-}
Copied: dot-language-server/repos/community-any/PKGBUILD (from rev 1427977,
dot-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-25 19:57:41 UTC (rev 1427978)
@@ -0,0 +1,88 @@
+# 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"
+}