Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eli-schwartz/aurpublish
PKGBUILD management framework for the Arch User Repository
https://github.com/eli-schwartz/aurpublish
Last synced: 25 days ago
JSON representation
PKGBUILD management framework for the Arch User Repository
- Host: GitHub
- URL: https://github.com/eli-schwartz/aurpublish
- Owner: eli-schwartz
- License: gpl-2.0
- Created: 2018-06-25T16:13:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-28T15:19:41.000Z (12 months ago)
- Last Synced: 2024-11-09T20:11:11.348Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 58.6 KB
- Stars: 249
- Watchers: 14
- Forks: 18
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- stars - eli-schwartz/aurpublish
- Awesome-Arch - aurpublish - PKGBUILD management framework for the Arch User Repository. (AUR Helpers / Maintenance)
README
# PKGBUILD management framework for the [Arch User Repository](https://aur.archlinux.org)
## Install
The standard `make && sudo make install` routine is used. The following additional variables are supported:
* `DESTDIR` -- staged installs for distro packaging
* `PREFIX` -- where to install generated script, defaults to /usr/local
* `HOOKSDIR` -- where to install [githooks](#hooks), defaults to `/share/aurpublish`## How it works
Commit PKGBUILDs in named subdirectories. Export them to the AUR with the `aurpublish` command, using the subtree push stratagem.
This preserves an independent history for third-party hosting, pull requests... ;)## Commands
* `aurpublish setup`
> Initialize a new repository with [githooks](#hooks).* `aurpublish PACKAGE`
> Push PACKAGE to the AUR. With "--speedup", merges the split history back in.* `aurpublish -p PACKAGE`
> Pull package from the AUR (if you adopted an existing package, or have a co-maintainer).* `aurpublish log PACKAGE`
> View the git log of a package subtree.* `import-from-aur3.sh PACKAGE`
> Experimental. Download the history of a non-migrated AUR3 package, and commit it to a new subtree.## Hooks
* pre-commit
> Warn about whitespace errors, fail if checksums don't match, and auto-generate .SRCINFO for all changed PKGBUILDs.* prepare-commit-msg
> Prefill the commit message with a list of added/updated/deleted packages + versions (if any).## Copyright
This repository is licensed under the GPLv2 or (at your option) any later version.