push_package_aur
"/home/yossef/notes/personal/linux/push_package_aur.md"
path: personal/linux/push_package_aur.md
- **fileName**: push_package_aur
- **Created on**: 2025-12-22 20:51:36
Creating Package Repositories
If you are creating a new package from scratch, establish a
local Git repository and an AUR remote by cloning the intended
pkgbase.
If the package does not yet exist, the following warning is
expected.
git -c init.defaultBranch=master clone \
ssh://aur@aur.archlinux.org/pkgbase.git
Expected output:
Cloning into 'pkgbase'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
Note:
The repository will not be empty ifpkgbasematches a
previously deleted package.
Initializing an Existing Package Repository
If you already have a package directory and it is not yet a
Git repository, initialize it first.
git -c init.defaultBranch=master init
Next, add the AUR remote:
git remote add label \
ssh://aur@aur.archlinux.org/pkgbase.git
Then fetch the remote to initialize it locally:
git fetch label
Pushing to the AUR
Once your PKGBUILD and related files are ready and committed,
push the repository to the AUR.
git push label master
Your package repository is now uploaded to the AUR and ready
for review and use.
continue:[[]]
before:./setup_ssh_aur_archlinux.md