aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Plangg2016-03-11 16:55:09 +0100
committerMarkus Plangg2016-03-11 16:55:09 +0100
commit525b114698000864ebb3e204a3d5098cfc2017bc (patch)
tree7b26b3ec714f0f8839f9c760b6351cdb56dac9bb
parentdc35be74a4ae43ae6175b91ae9e0df51ef8a1230 (diff)
downloadaur-525b114698000864ebb3e204a3d5098cfc2017bc.tar.gz
Add info about package version to README
-rw-r--r--README.md17
1 files changed, 9 insertions, 8 deletions
diff --git a/README.md b/README.md
index 58eb56b19598..f92390d72623 100644
--- a/README.md
+++ b/README.md
@@ -26,17 +26,18 @@
## Update the PKGBUILD
-* Update PKGBUILD
-* Update source file hashes
+* Update PKGBUILD
+ [Package version for git repositories](https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git) should be in the form `[VERSION].r[REVISION].[HASH]`. Since the docker-gc repository does not tag releases check `version.txt` for the current version and append the appropriate revision and hash manually or by running `printf "%s.r%s.%s" "$(cat version.txt)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"` in the repository root.
+* Update source file hashes
`updpkgsums`
-* Update the .SRCINFO
+* Update the .SRCINFO
`mksrcinfo`
-* Build the package
+* Build the package
`makepkg -src`
-* Check package
+* Check package
`namcap docker-gc-*.pkg.tar.xz`
-* Test-install package
+* Test-install package
`pacman -U docker-gc-*.pkg.tar.xz`
-* Remove tmp files
+* Remove tmp files
`rm docker-gc`
- `rm docker-gc-*.pkg.tar.xz` \ No newline at end of file
+ `rm docker-gc-*.pkg.tar.xz`