1 stable release
1.0.0 | Oct 21, 2024 |
---|
#93 in Unix APIs
177 downloads per month
34KB
772 lines
AURDERS
Keep your package in order for AUR with aurders
aurders is a simple helper for developers to make their packages ready-to-upload for Arch User Repository.
Get Started
Installation
From crates
cargo install aurders
From Github
Head to Releases section and grab the latest binary.
Compile from source
git clone git@github.com:miteshhc/aurders.git
cd aurders
cargo build --release
Executable binary will built at target/release/aurders
Beforehand steps
-
Ensure you have your source directory correctly named according to following format:
PkgName-PkgVer-RelNum
-
Ensure you have following dependencies ready:
- AUR account (ready-to-use)
- git
- makepkg
How To Use
- Run
aurders
with source directory as argument.
aurders source_dir --templates
-
Enter the values for required fields as prompted.
-
Enter the commands for build() and package() functions.
-
Decide whether you want to commit changes manually or let aurders do it.
-
Enter commit message (if you let aurders do it).
-
That's all.
What aurders does?
aurders handles most of the things one has to do to make their package ready-to-upload on Arch User Repository.
- Generates tarball from source directory.
- Generates PKGBUILD from template.
- Generates .SRCINFO from template.
- Clones repository from aur@aur.archlinux.org of
pkgname
. - Adds PKGBUILD, .SRCINFO and source (*.pkg.tar.zst) to git repository.
- Commits the changes in the git repository (if user wants aurders to).
What aurders does not do?
aurders focuses only on preparing package for upload to Arch User Repository.
- Does NOT create Arch User Repository account or handles anything related to that.
- Does NOT interfere with anything inside the .ssh/ directory.
- Does NOT push-es changes from local git repository.
Be mindful of following:
- aurders currently supports only one source.
- Ensure you have AUR account correctly setup.
- You can set external source easily, but you are required to have local copy of that same package.
- The PKGBUILD and .SRCINFO templates does not contain all the fields, it contains only what is required and/or is standard.
Contributing
All kinds of contributions are welcome! Whether you're fixing bugs, improving documentation, adding features, or even suggesting ideas, your help is greatly appreciated.
LICENSE
Distributed under the MIT license. See LICENSE for more infomation.
Dependencies
~7–20MB
~299K SLoC