Giter Club home page Giter Club logo

pkgbuilds's Introduction

Tools and subtree folder structure forked from https://github.com/eli-schwartz/pkgbuilds.

PKGBUILDs for Arch User Repository

Includes control scripts for managing AUR packages.

In order to reuse this, checkout the "base" branch and add your own packages on top. Don't keep mine. ;) An additional branch, "submodules-base", contains a previous attempt of mine. I decided I don't want to use submodules, but if you'd rather use that, feel free to take a look. :)

How it works

Commit PKGBUILDs in named subdirectories. Export them to the AUR with the included aurpublish script, using the subtree push stratagem. This preserves an independent history for third-party hosting, pull requests... ;)

Commands

  • ./setup.sh ssh

Append ssh-config rules for accessing the AUR.

  • ./setup.sh hooks

Install githooks.

  • ./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).

pkgbuilds's People

Contributors

adamslevy avatar exzz avatar xginn8 avatar eli-schwartz avatar yesuu avatar cacack avatar barthalion avatar archangegabriel avatar justin8 avatar

Watchers

James Cloos avatar  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.