github-actions-deploy-aur icon indicating copy to clipboard operation
github-actions-deploy-aur copied to clipboard

Automatically update pkgver using makepkg

Open j-waters opened this issue 3 years ago • 3 comments

If a pkgver() function exists, the PKGBUILD file will be copied into a new temporary directory, makepkg -od will be run, and then the new PKGBUILD file will be the one that is copied into the aur repo.

makepkg -od:

  • -o skips building, but still runs pkgver()
  • -d skips dependency checks, which is fine as long as no dependencies (other than git) are used in the pkgver() function

j-waters avatar Aug 29 '21 16:08 j-waters

It seems that you're busy. Notify me by @ mention when you're done.

KSXGitHub avatar Aug 30 '21 01:08 KSXGitHub

Hi @KSXGitHub Is it ready to merge this PR?

yuezk avatar Oct 16 '21 07:10 yuezk

@KSXGitHub I submitted another PR (#26) for updating the pkgver, it will work with the case where the PKGBUILD depends on the local source code tarballs in the package repository. Please also take a look. Thanks.

yuezk avatar Oct 17 '21 03:10 yuezk