diff options
author | William Gathoye | 2017-03-13 23:49:57 +0100 |
---|---|---|
committer | William Gathoye | 2017-03-13 23:49:57 +0100 |
commit | 9618481cfcb5f0a400a644a01c72f816d033b4ef (patch) | |
tree | 92e372e697107cd1799f6e9608f0b0e47104b7df | |
parent | 407f319db17727c372b4587af5f02dd92e7b37f3 (diff) | |
download | aur-9618481cfcb5f0a400a644a01c72f816d033b4ef.tar.gz |
Add link in comment for ease of use
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = progit2-git pkgdesc = The offline version of the entire Pro Git book, written by Scott Chacon and Ben Straub pkgver = 2.0.0.r689.g5026c45 - pkgrel = 2 + pkgrel = 3 url = https://github.com/progit/progit2 install = progit2-git.install arch = any @@ -3,7 +3,7 @@ pkgname=progit2-git pkgver=2.0.0.r689.g5026c45 -pkgrel=2 +pkgrel=3 pkgdesc="The offline version of the entire Pro Git book, written by Scott Chacon and Ben Straub" arch=('any') @@ -25,6 +25,7 @@ source=('git+https://github.com/progit/progit2') sha512sums=('SKIP') # Get the most recent un-annotated tag reachable from the last commit +# src.: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git pkgver() { cd "${pkgname%-git}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' |