docker: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:17:07 +00:00
parent f268c60e6b
commit efc6d76b38
2 changed files with 2 additions and 2 deletions

View file

@ -8,8 +8,6 @@ short_desc="Easily create lightweight, portable, self-sufficient containers from
maintainer="Juan RP <xtraeme@gmail.com>"
license="Apache-2.0"
homepage="http://www.docker.io"
update_site="https://api.github.com/repos/$pkgname/$pkgname/tags"
update_pattern='"name":\s*"v\K[^\d]*([\d\.]+)(?=")'
system_groups="docker"
# These are required at run-time.

2
srcpkgs/docker/update Normal file
View file

@ -0,0 +1,2 @@
site="https://api.github.com/repos/$pkgname/$pkgname/tags"
pattern='"name":\s*"v\K[^\d]*([\d\.]+)(?=")'