Skip to content

Edenhofer/abs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a1e895c · Mar 18, 2025
Jan 14, 2024
Jul 2, 2023
Aug 26, 2024
Jan 7, 2024
Jan 7, 2024
Dec 9, 2023
Dec 9, 2023
Aug 23, 2024
Sep 20, 2022
Jan 23, 2023
Sep 14, 2024
Jan 7, 2017
Jan 7, 2017
Nov 30, 2022
Nov 18, 2020
Jun 4, 2020
Dec 4, 2024
Mar 16, 2024
Feb 8, 2018
Jan 3, 2025
Jul 10, 2019
Sep 15, 2020
Jan 7, 2024
Jul 31, 2024
Sep 21, 2019
Aug 24, 2019
Sep 10, 2019
Aug 24, 2019
Jan 11, 2020
Jun 1, 2024
Dec 20, 2024
Jan 29, 2025
Jan 7, 2017
Nov 5, 2022
Dec 20, 2024
Feb 12, 2018
Mar 18, 2025
Aug 6, 2019
Jul 16, 2016
Nov 11, 2017
May 25, 2021
Jun 11, 2018

Repository files navigation

PKGBUILDs for the Arch User Repository

Additionally this repo includes control scripts for managing AUR packages.

The idea behind the structure of this repo

Commit PKGBUILDs in named subdirectories. Export them to the AUR with the included aurpublish script, using git subtrees. This preserves an independent history for third-party hosting and pull requests without losing the ability to manage all packages in one repo.

Commands

  • Push or pull packages to or from the AUR using ./aurpublish [OPTIONS] PACKAGE(s)
-p, --pull <package(s)>      Pull changes or import a new package from the AUR
-g, --git '<git options>'    Pass additional options to git (in brackets)
-h, --help                   Show a help message

Git, which is invoked by aurpublish, needs to know with which ssh-key you would like to authenticate to the AUR server. Therefore you must either specify your key through the command line or alter you ssh-configuration accordingly - Refer to 'Adding ssh-config rules' for more details.

  • Adding git-hooks (through bash)
for hook in $(git rev-parse --show-toplevel)/*.hook; do
    (cd "$(git rev-parse --show-toplevel)"
        ln -s "../../$(basename ${hook})" ".git/hooks/$(basename ${hook%.hook})");
done
  • Suggested: Adding ssh-config rules (to ~/.ssh/config)
Host aur aur.archlinux.org
    User aur
    Hostname aur.archlinux.org
    IdentityFile <PATH_TO_YOUR_AUR_KEY>

Hooks

  • pre-commit

Reject whitespace errors, and auto-generate .SRCINFO for all changed PKGBUILDs.

  • prepare-commit-msg

Prefill the commit message with a list of updated packages + versions (if any).

Author

Gordian Edenhofer

License

Unless otherwise stated, the files in this project may be distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2 and [version 3] (https://www.gnu.org/copyleft/gpl-3.0.html) of the GNU General Public License for more details.