AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all without user interaction.
  • Python 93.3%
  • Shell 6.2%
  • Dockerfile 0.3%
  • Makefile 0.2%
Find a file
2018-03-29 15:35:44 +01:00
locale style(pprint; locale): cannot 2018-03-17 05:57:59 +01:00
maintenance_scripts fix(core: open_file): automatically detect file encoding 2018-03-28 19:13:32 +02:00
packaging/usr chore(packaging: fish): accept more extensions when completing for -U 2018-03-03 14:05:00 +00:00
pikaur Switch list generator for .lower because it's a string. 2018-03-29 15:35:44 +01:00
screenshots doc: update screenshot 2018-02-26 00:47:11 +01:00
.flake8 refactor(install_cli): separate logic for package install and package upgrade (1/2) 2018-03-24 05:20:58 +01:00
.gitignore chore(gitignore): add mypy and dockerfile symlink 2018-03-11 01:44:28 +01:00
.pylintrc style: pylint 2018-03-08 00:36:50 +01:00
.travis.yml chore(travis): enable pylint 2018-02-22 02:01:31 +01:00
LICENSE Initial commit 2018-01-29 02:06:28 +00:00
Makefile Add russian translation (#61) 2018-03-06 18:57:26 +00:00
pikaur.py chore(entrypoint): remove unused imports 2018-02-13 20:59:00 +01:00
PKGBUILD chore: bump version to 0.9.2 2018-03-28 05:24:09 +02:00
README.md Fix typo in README.md 2018-03-28 19:16:01 +01:00
setup.py chore: bump version to 0.9.2 2018-03-28 05:24:09 +02:00

pikaur

AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all with minimal user interaction.

Inspired by pacaur, yaourt and yay.

Screenshot

Installation

git clone https://aur.archlinux.org/pikaur.git
cd pikaur
makepkg -fsri

Run without installation

git clone https://github.com/actionless/pikaur.git
cd pikaur
python3 ./pikaur.py -Ss AUR_PACKAGE_NAME
python3 ./pikaur.py -S AUR_PACKAGE_NAME
python3 ./pikaur.py -Syu

Configuration

~/.config/pikaur.conf

[sync]

AlwaysShowPkgOrigin (default: no)

when installing new packages show their repository name even if they are coming from one of the official Arch Linux repositories.

DevelPkgsExpiration (default: -1)

when doing sysupgrade count all devel (-git, -svn, -bzr, -hg, -cvs) packages older than N days as being upgradeable. -1 disables this. 0 means always upgrade. Passing --devel argument will override this option to 1.

[build]

KeepBuildDir (default: no)

don't remove ~/.cache/pikaur/build/${PACKAGE_NAME} directory between the builds.

[colors]

terminal colors, from 0 to 15

Version (default: 10)
VersionDiffOld (default: 11)
VersionDiffNew (default: 9)

[ui]

RequireEnterConfirm (default: yes)

require enter key to be pressed when answering questions.

Directories

~/.cache/pikaur/
├── aur_repos/  # keep there aur repos; show diff when updating
│   └── last_installed.txt  # aur repo hash of last successfully installed package
├── build/  # build directory (removed after successfull build)
└── pkg/  # built packages directory
~/.config/pikaur.conf  # config file

FAQ

How to avoid manually importing GPG keys?

It's recommended to control the keys manually. However if you know what you doing, keyserver-options auto-key-retrieve GPG option will automatically import GPG keys.

Contributing

Translations

To start working on a new language, say 'es' (Spanish), add it to the Makefile LANGS variable and run make. Then translate locale/es.po using your favorite PO editor. Run make every time the Python code strings change or the .po is modified.

Once done, don't forget to distribute the new language by adding it to the PKGBUILD package().