diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-05-08 15:24:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-08 15:24:47 -0400 |
commit | ca12440fa9f323b9f33298cc41c22ea4bc0afd6a (patch) | |
tree | 757b801d16619232df92c90463b7f014292b89ee | |
parent | 2087ab9c6de2521682f5e322fe57ce372f9d2a01 (diff) | |
parent | 19c95dd96ca70e40908e664ae990b6b0bb8b2219 (diff) |
Merge pull request #70 from YusufAktepe/master
get version from config.mk
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,8 +2,7 @@ pkgname=st-luke-git _pkgname=st -_pkgver=0.8.2 -pkgver=0.8.2.r1059.51ac1b9 +pkgver=0.8.2.r1062.2087ab9 pkgrel=1 epoch=1 pkgdesc="Luke's simple (suckless) terminal with vim-bindings, transparency, xresources, etc. " @@ -22,7 +21,8 @@ conflicts=("${_pkgname}") pkgver() { cd "${_pkgname}" - printf "%s.r%s.%s" "${_pkgver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "%s.r%s.%s" "$(awk '/^VERSION =/ {print $3}' config.mk)" \ + "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { |