diff options
author | Grey Chirstoforo | 2016-03-10 10:38:28 +0000 |
---|---|---|
committer | Grey Chirstoforo | 2016-03-10 12:48:57 +0000 |
commit | 1b1bdcbd0e7486d2c2e1bf3fdc5e1c4cdd634876 (patch) | |
tree | 27075337f2180d7957370f064ee316590e0b1b1d | |
parent | c05314e0aad6d87e15db1c117a7e30c8a95da572 (diff) | |
download | aur-1b1bdcbd0e7486d2c2e1bf3fdc5e1c4cdd634876.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() { |