# pkgbuild-language-server
[](https://pkgbuild-language-server.readthedocs.io)
[](https://results.pre-commit.ci/latest/github/Freed-Wu/pkgbuild-language-server/main)
[](https://github.com/Freed-Wu/pkgbuild-language-server/actions)
[](https://codecov.io/gh/Freed-Wu/pkgbuild-language-server)
[](https://deepsource.io/gh/Freed-Wu/pkgbuild-language-server)
[](https://github.com/Freed-Wu/pkgbuild-language-server/releases)
[](https://github.com/Freed-Wu/pkgbuild-language-server/releases/latest)
[](https://github.com/Freed-Wu/pkgbuild-language-server/issues)
[](https://github.com/Freed-Wu/pkgbuild-language-server/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/Freed-Wu/pkgbuild-language-server/pulls)
[](https://github.com/Freed-Wu/pkgbuild-language-server/pulls?q=is%3Apr+is%3Aclosed)
[](https://github.com/Freed-Wu/pkgbuild-language-server/discussions)
[](https://github.com/Freed-Wu/pkgbuild-language-server/milestones)
[](https://github.com/Freed-Wu/pkgbuild-language-server/network/members)
[](https://github.com/Freed-Wu/pkgbuild-language-server/stargazers)
[](https://github.com/Freed-Wu/pkgbuild-language-server/watchers)
[](https://github.com/Freed-Wu/pkgbuild-language-server/graphs/contributors)
[](https://github.com/Freed-Wu/pkgbuild-language-server/graphs/commit-activity)
[](https://github.com/Freed-Wu/pkgbuild-language-server/commits)
[](https://github.com/Freed-Wu/pkgbuild-language-server/releases/latest)
[](https://github.com/Freed-Wu/pkgbuild-language-server/blob/main/LICENSE)
[](https://github.com/Freed-Wu/pkgbuild-language-server)
[](https://github.com/Freed-Wu/pkgbuild-language-server)
[](https://github.com/Freed-Wu/pkgbuild-language-server)
[](https://github.com/Freed-Wu/pkgbuild-language-server)
[](https://github.com/Freed-Wu/pkgbuild-language-server)
[](https://github.com/Freed-Wu/pkgbuild-language-server)
[](https://pypi.org/project/pkgbuild-language-server/#description)
[](https://pypi.org/project/pkgbuild-language-server/#history)
[](https://pypi.org/project/pkgbuild-language-server/#files)
[](https://pypi.org/project/pkgbuild-language-server/#files)
[](https://pypi.org/project/pkgbuild-language-server/#files)
[](https://pypi.org/project/pkgbuild-language-server/#files)
Language server for [ArchLinux](https://archlinux.org)/[Windows Msys2](https://msys2.org)'s
[PKGBUILD](https://wiki.archlinux.org/title/PKGBUILD) and
[`*.install`](https://wiki.archlinux.org/title/PKGBUILD#install).
`PKGBUILD` is a subtype of bash.
This language server only provides extra features for `build.sh` which
[bash-language-server](https://github.com/bash-lsp/bash-language-server)
doesn't support:
- [x] [Diagnostic](https://microsoft.github.io/language-server-protocol/specifications/specification-current#diagnostic):
- [x] [namcap](https://wiki.archlinux.org/title/Namcap)
- [x] variable type. Such as: `depends` shouldn't be a function
- [ ] unsorted builtin variables/functions
- [ ] unsorted array. Such as: `depends=(pyalpm namcap)` should be
`depends=(namcap pyalpm)`
- [ ] [Document Formatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_formatting):
- [ ] sort builtin variables/functions
- [ ] sort array
- [x] [Document Link](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_documentLink):
jump to <https://archlinux.org/packages/package_name>
- [x] [Hover](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_hover)
- [x] packages
- [x] builtin variables/functions
- [x] [Completion](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_completion):
- [x] packages
- [x] builtin variables/functions
- [ ] [Code Action](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_codeAction)
- [ ] generate a template by the name of directory containing `PKGBUILD`, the
templates comes from:
- [ ] customized by user
- [ ] [pip2pkgbuild](https://github.com/wenLiangcan/pip2pkgbuild)
- [ ] [cpan2aur](https://metacpan.org/release/CPANPLUS-Dist-Arch)
- [ ] [gem2arch](https://github.com/anatol/gem2arch)
- [ ] [arch-hs](https://github.com/berberman/arch-hs)
- [ ] update `.SRCINFO` by `makepkg --printsrcinfo > .SRCINFO`
- [ ] update `pkgsums` by [`updpkgsums`](https://gitlab.archlinux.org/pacman/pacman-contrib)
- [ ] update version by a `nvcheck.toml` to tell this
program where to search new version:
```toml
[package_name]
source = "github"
github = "author_name/repo_name"
use_max_tag = true
```
Other features:
- [x] pre-commit-hooks
- [x] linter
- [ ] formatter
## Document Link

## Hover


## Completion


## Diagnostic

Read
[](https://pkgbuild-language-server.readthedocs.io)
to know more.
Raw data
{
"_id": null,
"home_page": "",
"name": "pkgbuild-language-server",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "pkgbuild,language server",
"author": "",
"author_email": "Wu Zhenyu <wuzhenyu@ustc.edu>",
"download_url": "https://files.pythonhosted.org/packages/80/cd/43f3cc33dbc581c0a504ace29e5727574ef572ab31e9fba78acb4ecfaf3b/pkgbuild-language-server-0.0.7.tar.gz",
"platform": null,
"description": "# pkgbuild-language-server\n\n[](https://pkgbuild-language-server.readthedocs.io)\n[](https://results.pre-commit.ci/latest/github/Freed-Wu/pkgbuild-language-server/main)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/actions)\n[](https://codecov.io/gh/Freed-Wu/pkgbuild-language-server)\n[](https://deepsource.io/gh/Freed-Wu/pkgbuild-language-server)\n\n[](https://github.com/Freed-Wu/pkgbuild-language-server/releases)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/releases/latest)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/issues)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/issues?q=is%3Aissue+is%3Aclosed)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/pulls)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/pulls?q=is%3Apr+is%3Aclosed)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/discussions)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/milestones)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/network/members)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/stargazers)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/watchers)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/graphs/contributors)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/graphs/commit-activity)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/commits)\n[](https://github.com/Freed-Wu/pkgbuild-language-server/releases/latest)\n\n[](https://github.com/Freed-Wu/pkgbuild-language-server/blob/main/LICENSE)\n[](https://github.com/Freed-Wu/pkgbuild-language-server)\n[](https://github.com/Freed-Wu/pkgbuild-language-server)\n[](https://github.com/Freed-Wu/pkgbuild-language-server)\n[](https://github.com/Freed-Wu/pkgbuild-language-server)\n[](https://github.com/Freed-Wu/pkgbuild-language-server)\n[](https://github.com/Freed-Wu/pkgbuild-language-server)\n\n[](https://pypi.org/project/pkgbuild-language-server/#description)\n[](https://pypi.org/project/pkgbuild-language-server/#history)\n[](https://pypi.org/project/pkgbuild-language-server/#files)\n[](https://pypi.org/project/pkgbuild-language-server/#files)\n[](https://pypi.org/project/pkgbuild-language-server/#files)\n[](https://pypi.org/project/pkgbuild-language-server/#files)\n\nLanguage server for [ArchLinux](https://archlinux.org)/[Windows Msys2](https://msys2.org)'s\n[PKGBUILD](https://wiki.archlinux.org/title/PKGBUILD) and\n[`*.install`](https://wiki.archlinux.org/title/PKGBUILD#install).\n\n`PKGBUILD` is a subtype of bash.\nThis language server only provides extra features for `build.sh` which\n[bash-language-server](https://github.com/bash-lsp/bash-language-server)\ndoesn't support:\n\n- [x] [Diagnostic](https://microsoft.github.io/language-server-protocol/specifications/specification-current#diagnostic):\n - [x] [namcap](https://wiki.archlinux.org/title/Namcap)\n - [x] variable type. Such as: `depends` shouldn't be a function\n - [ ] unsorted builtin variables/functions\n - [ ] unsorted array. Such as: `depends=(pyalpm namcap)` should be\n `depends=(namcap pyalpm)`\n- [ ] [Document Formatting](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_formatting):\n - [ ] sort builtin variables/functions\n - [ ] sort array\n- [x] [Document Link](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_documentLink):\n jump to <https://archlinux.org/packages/package_name>\n- [x] [Hover](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_hover)\n - [x] packages\n - [x] builtin variables/functions\n- [x] [Completion](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_completion):\n - [x] packages\n - [x] builtin variables/functions\n- [ ] [Code Action](https://microsoft.github.io/language-server-protocol/specifications/specification-current#textDocument_codeAction)\n - [ ] generate a template by the name of directory containing `PKGBUILD`, the\n templates comes from:\n - [ ] customized by user\n - [ ] [pip2pkgbuild](https://github.com/wenLiangcan/pip2pkgbuild)\n - [ ] [cpan2aur](https://metacpan.org/release/CPANPLUS-Dist-Arch)\n - [ ] [gem2arch](https://github.com/anatol/gem2arch)\n - [ ] [arch-hs](https://github.com/berberman/arch-hs)\n - [ ] update `.SRCINFO` by `makepkg --printsrcinfo > .SRCINFO`\n - [ ] update `pkgsums` by [`updpkgsums`](https://gitlab.archlinux.org/pacman/pacman-contrib)\n - [ ] update version by a `nvcheck.toml` to tell this\n program where to search new version:\n\n```toml\n[package_name]\nsource = \"github\"\ngithub = \"author_name/repo_name\"\nuse_max_tag = true\n```\n\nOther features:\n\n- [x] pre-commit-hooks\n - [x] linter\n - [ ] formatter\n\n## Document Link\n\n\n\n## Hover\n\n\n\n\n\n## Completion\n\n\n\n\n\n## Diagnostic\n\n\n\nRead\n[](https://pkgbuild-language-server.readthedocs.io)\nto know more.\n",
"bugtrack_url": null,
"license": "GPL v3",
"summary": "pkgbuild language server",
"version": "0.0.7",
"project_urls": {
"Bug Report": "https://github.com/termux/termux-language-server/issues",
"Download": "https://github.com/termux/termux-language-server/releases",
"Homepage": "https://termux-language-server.readthedocs.io",
"Source": "https://github.com/termux/termux-language-server"
},
"split_keywords": [
"pkgbuild",
"language server"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "58adc1aa6a772b1cb65a96a500eb4cc6fb787e5c3cd06216b979db4d7cfe5845",
"md5": "91f67fbb78bc6cdbafc0bd6161482fed",
"sha256": "5e9b5d98541847b9ffab5feb693f91ece402f5fbcca4d9d01e1af364e44e8b4c"
},
"downloads": -1,
"filename": "pkgbuild_language_server-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "91f67fbb78bc6cdbafc0bd6161482fed",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 16016,
"upload_time": "2023-10-26T15:43:11",
"upload_time_iso_8601": "2023-10-26T15:43:11.953261Z",
"url": "https://files.pythonhosted.org/packages/58/ad/c1aa6a772b1cb65a96a500eb4cc6fb787e5c3cd06216b979db4d7cfe5845/pkgbuild_language_server-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "80cd43f3cc33dbc581c0a504ace29e5727574ef572ab31e9fba78acb4ecfaf3b",
"md5": "d79876efbc878719697cde182d10669d",
"sha256": "10b2c236839787fb63b8a1e63ba6e16ea1b7c37d4c82e3fb207617488b1f1754"
},
"downloads": -1,
"filename": "pkgbuild-language-server-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "d79876efbc878719697cde182d10669d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 16729,
"upload_time": "2023-10-26T15:43:13",
"upload_time_iso_8601": "2023-10-26T15:43:13.563938Z",
"url": "https://files.pythonhosted.org/packages/80/cd/43f3cc33dbc581c0a504ace29e5727574ef572ab31e9fba78acb4ecfaf3b/pkgbuild-language-server-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-26 15:43:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "termux",
"github_project": "termux-language-server",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pkgbuild-language-server"
}