diff options
author | Grey Chirstoforo | 2016-03-10 10:38:28 +0000 |
---|---|---|
committer | Grey Chirstoforo | 2016-03-10 12:21:15 +0000 |
commit | 23e4ebe26c02dd40ab990fe249e1766f448c85f7 (patch) | |
tree | 1ff6a5f010e54285e13d009fac9a74b8d5e6977d /PKGBUILD | |
parent | 9b406799d64fc373c9c13bac0b18628288090762 (diff) | |
download | aur-23e4ebe26c02dd40ab990fe249e1766f448c85f7.tar.gz |
add git commit hash to package version
Diffstat (limited to 'PKGBUILD')
-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() { |