Skip to content

Simple tool to automatize checking for upstream updates of arch linux user repository packages

License

Notifications You must be signed in to change notification settings

Anty0/updaurpkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

UpdAurPkg

Simple tool to automatize checking for upstream updates of arch linux user repository packages

Usage

Usage: updaurpkg [--apply] [PACKAGE_DIRECTORY ...]
  Checks for available upstream updates of package in current directory or given directory in arguments
    --apply - Also apply update to the PKGBUILD, build and install package and commit changes

PKGBUILD requirements:
  variable _source_type - one of values:
    github-releases - check for update in github repository releases, requires variable _repo with user/repo as value
    github-tags - check for update in github repository tags, requires variable _repo with user/repo as value
    pypi-releases - check for update on pypi.org site, requires variable _pypi_package with package name as value
    custom - use output of function _upstreamver_check as current version
  variable _upstreamver - will be modified according to the new version
  variable _upstreamver_regex - optional, check new version against regex using grep
  function _after_check_hook - optional, will be executed with upstream version as argument once upstream version is validated

About

Simple tool to automatize checking for upstream updates of arch linux user repository packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages