summaryrefslogtreecommitdiffstats
path: root/doc/repo-add.8.txt
blob: 5664949fc96209d6534d20e37cafdf2b8fe2e29b (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
/////
vim:set ts=4 sw=4 syntax=asciidoc noet:
/////
repo-add(8)
==========

Name
----
////
* If we use this below line, the manpage name comes out all weird. We also
* can't use two separate lines, which is quite annoying. *
repo-add, repo-remove - package database maintenance utilities
////
repo-add - package database maintenance utility


Synopsis
--------
repo-add <path-to-db> [--force] <package> ...

repo-remove <path-to-db> <packagename> ...


Description
-----------
repo-add and repo-remove are two scripts to help build a package database for
packages built with linkman:makepkg[8] and installed with linkman:pacman[8].

repo-add will update a package database by reading a built package file.
Multiple packages to add can be specified on the command line.

repo-remove will update a package database by removing the package name
specified on the command line. Multiple packages to remove can be specified
on the command line.


Options
-------
*--force* (repo-add only)::
	Add a force entry to the sync database, which tells pacman to skip version
	number comparison and update the package regardless. This flag can be
	specified in the middle of the command line, with any packages listed
	before the flag being added as normal entries, and any specified after
	being marked as force upgrades.


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

include::footer.txt[]