diff options
author | Grey Chirstoforo | 2016-03-10 10:38:28 +0000 |
---|---|---|
committer | Grey Chirstoforo | 2016-03-10 12:21:41 +0000 |
commit | 00c399e9e28f58910b5a82a1bd1ee7b101460a81 (patch) | |
tree | 5fd190608784b3de8cbada564a8e35743e72a516 /PKGBUILD | |
parent | 8b020ca38adb24508802758a7e89cf52c2beaa2f (diff) | |
download | aur-00c399e9e28f58910b5a82a1bd1ee7b101460a81.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() { |