---
name: "alpm-pkginfo-create-v2"
section: "1"
platform: "linux"
package: "alpm-pkginfo"
version: "0.7.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/alpm-pkginfo-create-v2"
---

# alpm-pkginfo-create-v2(1)

Create a PKGINFO version 2 file

## NAME

alpm-pkginfo-create-v2 - Create a PKGINFO version 2 file

## SYNOPSIS

**alpm-pkginfo create v2** \<**--pkgname**\> \<**--pkgbase**\> \<**--pkgver**\> \<**--pkgdesc**\> \<**--url**\> \<**--builddate**\> \<**--packager**\> \<**--size**\> \<**--arch**\> \[**--license**\] \[**--replaces**\] \[**--group**\] \[**--conflict**\] \[**--provides**\] \[**--backup**\] \[**--depend**\] \[**--optdepend**\] \[**--makedepend**\] \[**--checkdepend**\] \[**--xdata**\] \[**-h**\|**--help**\] \[*FILE*\]

## DESCRIPTION

Create a PKGINFO version 2 file

## OPTIONS

- **--pkgname** *\<PKGNAME\>*

  The pkgname to use in the PKGINFO

  The pkgname must follow the alpm-package-name format (see \`man 7 alpm-package-name\`).

  May also be specified with the **PKGINFO\_PKGNAME** environment variable.

- **--pkgbase** *\<PKGBASE\>*

  The pkgbase to use in the PKGINFO

  The pkgbase must follow the alpm-package-name format (see \`man 7 alpm-package-name\`).

  May also be specified with the **PKGINFO\_PKGBASE** environment variable.

- **--pkgver** *\<PKGVER\>*

  The pkgver to use in the PKGINFO

  The pkgver value must follow the alpm-pkgver format (see \`man 7 alpm-pkgver\`).

  May also be specified with the **PKGINFO\_PKGVER** environment variable.

- **--pkgdesc** *\<PKGDESC\>*

  The package description to use in the PKGINFO

  The value must follow the format described in the PKGINFO format (see \`man 5 PKGINFO\`).

  May also be specified with the **PKGINFO\_PKGDESC** environment variable.

- **--url** *\<URL\>*

  Provide a url

  May also be specified with the **PKGINFO\_URL** environment variable.

- **--builddate** *\<BUILDDATE\>*

  Provide a builddate

  May also be specified with the **PKGINFO\_BUILDDATE** environment variable.

- **--packager** *\<PACKAGER\>*

  Provide a packager

  May also be specified with the **PKGINFO\_PACKAGER** environment variable.

- **--size** *\<SIZE\>*

  Provide a size

  May also be specified with the **PKGINFO\_SIZE** environment variable.

- **--arch** *\<ARCH\>*

  Provide a architecture

  May also be specified with the **PKGINFO\_ARCH** environment variable.

- **--license** *\<LICENSE\>*

  Provide one or more licenses

  May also be specified with the **PKGINFO\_LICENSE** environment variable.

- **--replaces** *\<REPLACES\>*

  Provide one or more replaces

  May also be specified with the **PKGINFO\_REPLACES** environment variable.

- **--group** *\<GROUP\>*

  Provide one or more groups

  May also be specified with the **PKGINFO\_GROUP** environment variable.

- **--conflict** *\<CONFLICT\>*

  Provide one or more conflicts

  May also be specified with the **PKGINFO\_CONFLICT** environment variable.

- **--provides** *\<PROVIDES\>*

  Provide one or more provides

  May also be specified with the **PKGINFO\_PROVIDES** environment variable.

- **--backup** *\<BACKUP\>*

  Provide one or more backups

  May also be specified with the **PKGINFO\_BACKUP** environment variable.

- **--depend** *\<DEPEND\>*

  Provide one or more depends

  May also be specified with the **PKGINFO\_DEPEND** environment variable.

- **--optdepend** *\<OPTDEPEND\>*

  Provide one or more optdepend

  May also be specified with the **PKGINFO\_OPTDEPEND** environment variable.

- **--makedepend** *\<MAKEDEPEND\>*

  Provide one or more makedepend

  May also be specified with the **PKGINFO\_MAKEDEPEND** environment variable.

- **--checkdepend** *\<CHECKDEPEND\>*

  Provide one or more checkdepend

  May also be specified with the **PKGINFO\_CHECKDEPEND** environment variable.

- **--xdata** *\<XDATA\>*

  Provide one or more Xdata

  May also be specified with the **PKGINFO\_XDATA** environment variable.

- **-h**, **--help**

  Print help (see a summary with '-h')

- \[*FILE*\] \[default: .PKGINFO\]

  An optional custom file to write to

  May also be specified with the **PKGINFO\_OUTPUT\_FILE** environment variable.
