项目作者: patztablook22

项目描述 :
Cross-platform AUR Assistant written in Ruby.
高级语言: Ruby
项目地址: git://github.com/patztablook22/aura.git
创建时间: 2020-07-26T08:13:24Z
项目社区:https://github.com/patztablook22/aura

开源协议:GNU General Public License v3.0

下载





>>> Check out AURA gitbook <<<



“AUR packages - Anywhere.

CROSS-PLATFORM Arch User Repository Assistant written in Ruby.



This tool aims to provide simple yet powerful functionality. \
It will assist you when installing packages from the AUR. \
It does cloning for you, can parse PKGBUILD, and even try to execute it in a given environment, yielding feedback on what to target manually.

Installation

  1. curl -s https://raw.githubusercontent.com/patztablook22/aura/master/install.sh | bash

TL;DR Examples

  1. # install opera-beta
  2. # automatically checking for local files
  3. # and using them instead of downloading
  4. aura opera-beta
  5. # install discord after downloading a corrupt file
  6. # e.g. due to SIGINT
  7. aura --redo discord
  8. # install kewl and keep it in the fakeroot
  9. # to check the files it will create
  10. # also skip "glibc" dependency
  11. # and show what exactly is happening
  12. aura --keep --skip glibc --verbose kewl

Usage

  1. # print help
  2. aura --help
  3. # request a package from the AUR if necessary and try to build it
  4. aura package
  5. # request a package from the AUR and try to (re)build it
  6. aura package --redo
  7. # keep the package in the fakeroot dir for testing / review
  8. aura package --keep
  9. # skip checking dependency "dep" and "another"
  10. aura package --skip dep,another
  11. # verbose mode
  12. aura package --verbose
  13. # use custom config file
  14. aura package --conf myaura.conf
  15. # use custom fakeroot directory
  16. aura package --root my/fake/root

Config

Default config location: GIT_BASE/config.txt \
That is, for the installer ~/.config/aura/config.txt \
It’s being interpreted using the same internal PKGBUILD parser \
hence the syntax, for example:

  1. aurs = /my/aur/repositories
  2. pkgs = /my/packages
  3. root = /my/root
  4. redo = false
  5. # not yet implemented
  6. errs = /my/aura/error/file.txt

Manual installation

Dependencies

  • git
  • ruby
  • tar
  • binutils
  • xz

Steps

  1. dependencies
  2. clone the repository into ~/.config/
  3. execute GIT_BASE/aura
  4. you can link it into /usr/bin/

Development notes

The complexity of packages this tool can handle shall increase.