diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,6 +1,6 @@ # Maintainer: Derek Taylor (DistroTube) <derek@distrotube.com> pkgname=st-distrotube-git -pkgver=.r9.ed0183b +pkgver=0.8.2 pkgrel=1 pkgdesc="A heavily-patched and customized build of st (the Suckless simple terminal) from DistroTube." arch=(x86_64 i686) @@ -23,8 +23,7 @@ validpgpkeys=() pkgver() { cd "${_pkgname}" - _pkgver=$(awk '/VERSION/ {print $3}' config.mk|head -1) - echo "${_pkgver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + printf "0.8.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { |