.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH alpm-srcinfo-create 1 "alpm-srcinfo-create " .SH NAME alpm\-srcinfo\-create \- Create a SRCINFO file from a PKGBUILD file at a given path .SH SYNOPSIS \fBalpm\-srcinfo create\fR [\fB\-o\fR|\fB\-\-output\-format\fR] [\fB\-p\fR|\fB\-\-pretty\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIFILE\fR> .SH DESCRIPTION Create a SRCINFO file from a PKGBUILD file at a given path. .PP If the PKGBUILD can be created and validated, the program exits with no output and a return code of 0. If the file is missing or can not be validated, an error is emitted on stderr and the program exits with a non\-zero exit status. .SH OPTIONS .TP \fB\-o\fR, \fB\-\-output\-format\fR=\fIOUTPUT_FORMAT\fR [default: srcinfo] Provide the output format .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 json: The JSON output format .IP \(bu 2 srcinfo: The SRCINFO output format .RE .TP \fB\-p\fR, \fB\-\-pretty\fR Pretty\-print the output. Only applies to formats that support pretty output and is otherwise ignored. .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP <\fIFILE\fR> An optional input file path to read from If no file is specified, stdin is read from and expected to contain PKGINFO data to validate.