This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
powaur.1.txt
151 lines (151 loc) · 4.97 KB
/
powaur.1.txt
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.TH POWAUR 1 "31-05-2011" "powaur" "powaur manual"
.SH NAME
powaur \- an AUR helper with a pacman-like interface
.SH SYNOPSIS
.I powaur
<operation> [options] [targets]
.SH DESCRIPTION
powaur is an AUR helper which provides a pacman-like interface. Invoking
powaur involves specifying an operation with applicable options and targets.
.SH OPERATIONS
.TP
.B "-G, --getpkgbuild <package(s)>"
Download PKGBUILDS from the AUR. PKGBUILDS are downloaded as tarballs, then
extracted into the current working directory. Dependency resolution can be
turned on with the --deps flag.
.IP
powaur now supports multi-threaded downloading, up to a maximum of 10 threads.
.IP
NOTE: With --deps, downloading is threaded but dependency resolution is NOT
threaded.
.TP
.B "-Q, --query"
Query the pacman local database. This option lets you view information about
installed packages (eg. dependencies, provides, installed date). When no
packages are provided, all installed packages will be queried.
.TP
.B "-S, --sync"
Synchronize packages. When used with no options, at least one target is
required and powaur will attempt to install the target package(s) from the AUR.
There is no dependency resolution.
.IP
Note that the use of this flag to install AUR packages is discouraged.
You are adviced to use the -G flag to download PKGBUILDS and review them
before installing them using makepkg.
.TP
.B "-M, --maintainer <person>"
Search the AUR for packages maintained by person. 1 and only 1 maintainer must
be specified.
.TP
.B "-B, --backup"
Backup the local pacman database. See Backup Usage.
.TP
.B "-h, --help"
Displays help message and exits.
.TP
.B "-V, --version"
Displays version information and exits.
.SH OPTIONS
.TP
.B "--color"
Enables colorized output. This option can be supplied many times but the effect
will be the same as if it was supplied once. If --nocolor is supplied, the
effect of this option is nullified.
.TP
.B "--debug"
Display debug messages.
.TP
.B "--nocolor"
Disables colorized output. This option can be supplied many times but the
effect will be the same as if it was supplied once. If --color is supplied, the
effect of this option is nullified.
.TP
.B "--threads <N>"
Limits powaur to spawn up to a maximum of N threads. Currently, mutli-threading
is limited to the -G operation. This option can be used to override the
"MaxThreads" setting in the configuration file.
.SH GETPKGBUILD OPTIONS
.TP
.B "--deps"
.br
Resolve dependencies for all target packages. If any dependencies are from the
AUR, they will be downloaded, with their dependencies resolved. This is done
until all dependencies have been resolved.
.IP
NOTE: For dependency resolution to work properly, the package names in the
PKGBUILDS must be exact. Use the --verbose flag to see more information for
dependency resolution.
.IP
NOTE: Dependency resolution is NOT threaded. But downloading of resolved packages
is threaded.
.TP
.B "--target <DIR>"
Downloads packages to alterante directory <DIR> instead of the current working
directory.
.SH QUERY OPTIONS
.TP
.B "-i, --info"
Displays information on installed packages. If no packages were specified, then
information on all installed packages is displayed.
.TP
.B "-s, --search"
Searches installed packages for the specified package(s). If no packages were
specified, then all installed packages will be listed.
.SH SYNC OPTIONS
.TP
.B "-i, --info"
Searches sync databases, followed by AUR for package information. If no
packages were specified, then information on all packages from all sync
databases is displayed.
.TP
.B "-s, --search"
Searches the AUR for a specified package. Currently, there is only support for
searching for 1 package.
.TP
.B "--vote"
.br
Used with -s. Orders search results from the AUR by vote count instead of
alphabetical order.
.SH MAINTAINER OPTIONS
.TP
.B "--vote"
.br
Orders search results from the AUR by vote count instead of alphabetical order.
.SH BACKUP USAGE
.IP "powaur -B"
Backup pacman database to current working directory.
.IP "powaur -B dir"
Backup pacman database to dir.
.SH Configuration
powaur looks for its configuration file first in:
.P
$XDG_CONFIG_HOME/powaur.conf
.P
followed by:
.P
$HOME/.config/powaur.conf
.P
1 and only 1 of the above files will be parsed. In the event of unspecified
configuration settings, powaur will fallback to using the defaults.
.P
A sample config file can be found at /usr/share/powaur/powaur.conf
.SH Colorized Output
By default, powaur's output is colorized. Thus, "color" starts with a value
of 1.
.P
The --color flag and "Color" option when set to "On" in powaur.conf increases
the value of "color" by 1.
.P
The --nocolor flag and "Color" option when set to "Off" in powaur.conf increases
the value of "color" by 1.
.P
If the final value of "color" is greater than 0, then output is colorized.
.SH CREDITS
Dave Reisner - For his kind permission to let powaur use code from cower
.P
pacman, git - Source code was used from both of these projects, especially
pacman
.SH BUG REPORTS
Please email bug reports to <powaurdev@gmail.com>
.SH AUTHOR
Pang Yan Han <pangyanhan@gmail.com>