forked from skypher/paktahn
-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
108 lines (59 loc) · 2.19 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Report bugs, request features, send patches:
http://github.com/skypher/paktahn/issues
Follow the source code at:
http://github.com/redline6561/paktahn
Contribute to the Wiki:
http://wiki.github.com/skypher/paktahn
Paktahn is designed to be a successor to the popular Yaourt
package manager.
It's a Pacman wrapper that also knows how to search and install
packages from AUR.
Current advantages over Yaourt:
* allows use of alternative Pacman binaries (e.g. Powerpill)
* caches local dbs for exceptional speed (soon for AUR too!)
* way better security and extensibility
Usage hints
===========
== Shortcut: pak
Paktahn comes with a symlink called "pak".
Running pak without any arguments will list CLI options for paktahn.
== Interactive search/install mode
pak SEARCH
will search all dbs from pacman.conf (excluding local)
and AUR for SEARCH in the name and description of packages.
== Install and remove package or packages
pak -S PKG(s), pak -R PKG(s)
will find and install or remove PKG(s) from sync dbs or AUR.
== Upgrade AUR packages
pak -Su --aur
will upgrade all installed AUR packages.
== Retrieve a PKGBUILD for AUR or binary packages
pak -G emacs, pak -G emacs-clojure-mode-git, etc
will pull the PKGBUILD from SVN for binary packages and
retrieve it from AUR otherwise.
Common config file settings
===========================
== Use Powerpill/Clyde/etc instead of Pacman
In your ~/.paktahn/config.lisp:
(in-package :pak)
(setf *pacman-binary* "powerpill")
This assumes that powerpill is in your $PATH.
== Set a different color scheme
In your ~/.paktahn/config.lisp:
(in-package :pak)
(setf *color-scheme* *color-scheme-lightbg*)
Available color schemes are *color-scheme-darkbg* (the default)
and *color-scheme-lightbg*.
== Use unipkg instead of makepkg
(in-package :pak)
(setf *makepkg-binary* "unipkg")
== Storing built packages
(in-package :pak)
(setf *save-packages* "/tmp/mypackages/") ; mind the trailing slash
Just store packages, don't install them:
(in-package :pak)
(setf *save-packages* "/tmp/mypackages/") ; mind the trailing slash
(setf *save-packages-only* t)
How do I build this thing?!
===========================
See PKGBUILD.