aurutils: v20.2
[aurutils.git] / man1 / aur-srcver.1
blob4b8514f9cf821d94019dddd19061286819b0d349
1 .TH AUR-SRCVER 1 2018-02-01 AURUTILS
2 .SH NAME
3 aur\-srcver \- list version of VCS packages
5 .SH SYNOPSIS
6 .SY "aur srcver"
7 .OP \-\-noprepare
8 .OP \-\-jobs
9 .IR pkgbase ...
10 .YS
12 .SH DESCRIPTION
13 .B aur\-srcver
14 takes source directories and lists the current
15 .I pkgver
16 for each
17 .IR PKGBUILD .
18 This is achieved by running
19 .B "makepkg \-\-skipinteg \-od"
20 and subsequently sourcing the PKGBUILD. If
21 .B makepkg
22 fails on a given package, the resulting output is shown on standard error.
23 .PP
24 Source directories can be specifed on the command-line, from standard
25 input when a hyphen is specified, or from a file with the
26 .B \-\-arg\-file
27 option.
29 .SH OPTIONS
30 .TP
31 .BI \-a " FILE" "\fR, \fP \-\-arg\-file=" FILE
32 Read source directories from
33 .I FILE
34 instead of the command-line. This argument does not take precedence over
35 .BR "aur\-srcver \-" .
37 .TP
38 .BI \-\-buildscript= NAME
39 Read the package script
40 .I NAME
41 instead of the
42 .I PKGBUILD
43 default.
45 .TP
46 .BR \-\-noprepare ", " \-\-no\-prepare
47 Do not run the prepare() function in the PKGBUILD.
49 .TP
50 .BI \-j " NUM" "\fR,\fP \-\-jobs=" NUM
51 Set the amount of
52 .B makepkg
53 processes run in parallel. Defaults to 2 plus the amount of processing units.
55 .TP
56 .BR \-\-margs ", " \-\-makepkg\-args
57 Additional arguments to pass to
58 .BR makepkg (8).
60 .TP
61 .B \-\-null
62 When reading arguments with
63 .B \-\-arg\-file
64 or from standard input, assume delimitation by null bytes instead of newlines.
66 .SH ENVIRONMENT
67 .TP
68 .B AUR_MAKEPKG
69 The command used to update
70 .B pkgver
71 in the
72 .IR PKGBUILD .
73 Any
74 .BR makepkg (8)
75 options forwarded (see
76 .BR \-\-margs )
77 must be supported by this command, as well as
78 .IR \-\-nobuild ,
79 .IR \-\-nodeps ,
80 and
81 .IR \-\-skipinteg .
83 .SH SEE ALSO
84 .ad l
85 .nh
86 .BR aur (1),
87 .BR makepkg (8)
89 .SH AUTHORS
90 .MT https://github.com/AladW
91 Alad Wenter
92 .ME
94 .\" vim: set textwidth=72: