Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/doc/bacman.8.txt
blob: dc5af481b5c6ae4be0949ef03a40063c55f039fc (plain)
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
/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
bacman(8)
==========

Name
----
bacman - recreate installed packages


Synopsis
--------
'bacman' [options] <package(s)>


Description
-----------
'bacman' was designed to reassemble installed packages using pacman's database
and system files.
It is useful for regenerating an installed package that you are unable to
download that is also not available in your package cache.

'bacman' honors packaging settings from linkman:makepkg.conf[8].


Options
-------
*-h, \--help*::
	Display usage information.

*-q, \--quiet*::
	Silence most of the status reporting.

*-m, \--nocolor*::
	Disable colored output.

*-o, \--out <dir>*::
	Write the assembled package(s) to the specified directory.

*\--pacnew*::
	Package `.pacnew` files if available instead of the (possibly modified)
	versions in place on the filesystem.


Examples
--------

The following are example usages of the 'bacman' utility:

$ bacman linux-headers::
	Recreate the package ``linux-headers''.

$ bacman gzip make binutils -o ~/packages::
	Assemble the packages ``gzip'', ``make'', and ``binutils'' and place
	the packages in the ``~/packages'' directory.

$ bacman --nocolor --pacnew -o ~/backup $(pacman -Qq)::
	Assemble all currently installed packages using ``.pacnew'' whenever
	available, suppress colored output and place the desired packages in
	the ``~/backup''. directory

See Also
--------
linkman:makepkg[8], linkman:pacman[8]

include::footer.txt[]