An open API service indexing awesome lists of open source software.

https://github.com/openscript/pkgbuild-editor

Your all-in-one code-based parser and editor for seamless PKGBUILD file handling.
https://github.com/openscript/pkgbuild-editor

Last synced: 11 months ago
JSON representation

Your all-in-one code-based parser and editor for seamless PKGBUILD file handling.

Awesome Lists containing this project

README

          

# pkgbuild-editor

Your all-in-one code-based parser and editor for seamless [PKGBUILD](https://wiki.archlinux.org/title/PKGBUILD) file handling.

## About

When managing the Arch User Repository (AUR), precise control over `PKGBUILD` files from code is essential, when you want to automate things. `pkgbuild-editor` provides a powerful parser and editor, transforming `PKGBUILD` handling into a streamlined experience. Instead of relying on regular expressions, this tool leverages an Concrete Syntax Tree (CST) to offer a deeper, more reliable understanding of `PKGBUILD` files. Whether you're automating updates, modifying dependencies, or simply tweaking build instructions, `pkgbuild-editor` gives you a structured approach for efficient and error-free edits.

## Features

- [ ] Parse `PKGBUILD` files
- [ ] Edit `PKGBUILD` files
- [ ] Create new `PKGBUILD` files from scratch
- [ ] Write `PKGBUILD` files
- [ ] Preserve comments and formatting, when parsed

## Packages

- [`pkgbuild-editor`](./packages/pkgbuild-editor/): Core package