Coder Social home page Coder Social logo

abs's Introduction

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.

abs's People

Contributors

edenhofer avatar net147 avatar tylerjl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.