Skip to content
An AUR helper with a pacman-like interface
C Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
COPYING
INSTALL
Makefile.in
NEWS
POWAUR-VERSION-GEN
README.md
TECHNICAL
autoclean.sh
autogen.sh
conf.c
conf.h
configure.ac
curl.c
curl.h
download.c
download.h
environment.c
environment.h
error.c
error.h
handle.c
handle.h
json.c
json.h
package.c
package.h
powaur.1.txt
powaur.c
powaur.conf
powaur.h
query.c
query.h
sync.c
sync.h
util.c
util.h
wrapper.c
wrapper.h

README.md

WHAT IS POWAUR?

powaur is an AUR helper written in C. Its main objective is to provide a yaourt / pacman esque interface to the AUR.

Currently, powaur supports:

  • Multithreaded downloading of packages from the AUR with dependency resolution
  • Searching for packages on the AUR
  • Querying local and sync databases for package information
  • Installing packages from the AUR (no dependency resolution)
  • Backing up your pacman local database
  • Colorized output (new in v0.1.3)

Unlike full featured AUR helpers such as clyde, powaur is not meant to replace pacman.

OBJECTIVES

powaur provides an interface which is as close to that of yaourt and pacman as possible, without sacrificing too much performance. After all, why learn an additional set of commands when you are already familiar with one that works? =)

powaur seeks to:

  • provide an interface as similar to pacman as possible
  • do things efficiently. Hence C is the language of choice

Inspiration for powaur has come from:

  • cower
  • pacman
  • yaourt
  • git

THE -S FLAG

Currently, the -S flag does not do any dependency resolution when it comes to installing packages. What it does is:

  • Downloads the tarball packages from the AUR
  • Unzips them in /tmp/powaur
  • Asks the user to edit the PKGBUILD
  • Invokes makepkg -s to install the package

A NOTE ABOUT THE AUR

The Arch User Repository (AUR) is a community driven repository. As such, AUR packages are unsupported and come with a certain level of security risk.

As such, use of the -S flag to install AUR packages is highly discouraged. You are highly advised to look through the PKGBUILDS before invoking makepkg to build the packages.

CREDITS

Dave Reisner for allowing me to use code from cower (json parsing using yajl)

Some source code in powaur comes from the following projects:

  • pacman
  • git

BUG REPORTS

Please email bug reports to powaurdev@gmail.com .

AUTHOR

Pang Yan Han pangyanhan@gmail.com

Something went wrong with that request. Please try again.