diff options
author | Grey Chirstoforo | 2016-03-10 10:38:28 +0000 |
---|---|---|
committer | Grey Chirstoforo | 2016-03-10 10:38:28 +0000 |
commit | 8eb3f0fcff8901f46b8d43a7bec03f1021c82214 (patch) | |
tree | fcc6076900c7ecfe3f129640e24fb678b5c64a06 | |
parent | 52f0add013b15e3e57d6e062184ebb72de27a974 (diff) | |
download | aur-8eb3f0fcff8901f46b8d43a7bec03f1021c82214.tar.gz |
add git commit hash to package version
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -46,7 +46,8 @@ prepare() { pkgver() { cd linux RELEASE=$(make kernelrelease) - echo ${RELEASE//[-]/_} + RELEASE=${RELEASE//[-]/_} + printf "%s.%s" "$RELEASE" "$(git rev-parse --short HEAD)" } build() { |