|
|
@ -29,7 +29,8 @@ pkgver() { |
|
|
|
cd $(find "$srcdir" -maxdepth 1 -type d -name 'scst*') |
|
|
|
cd $(find "$srcdir" -maxdepth 1 -type d -name 'scst*') |
|
|
|
|
|
|
|
|
|
|
|
local ver="$(git rev-parse --short HEAD)" |
|
|
|
local ver="$(git rev-parse --short HEAD)" |
|
|
|
printf "${_version}.%s" "${ver//[[:alpha:]]}" |
|
|
|
local days=$(( ($(date --utc +%s) - $(date -d "2019-01-01 UTC" +%s)) / (60*60*24) )) |
|
|
|
|
|
|
|
printf "${_version}.%s.%s" "${days}" "${ver//[[:alpha:]]}" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_base() { |
|
|
|
_base() { |
|
|
|