diff options
author | iftakhar.awal@yahoo.com | 2020-09-05 16:17:53 +0600 |
---|---|---|
committer | iftakhar.awal@yahoo.com | 2020-09-05 16:17:53 +0600 |
commit | 2a5279c6f3dd0c471dc5b74119dc1abca8007cab (patch) | |
tree | 0390df8e00c59139219902fe7d60f3cf4d16a593 | |
parent | 04258ffff31119ef2fa0af40fa14e803d49279c4 (diff) | |
download | aur-2a5279c6f3dd0c471dc5b74119dc1abca8007cab.tar.gz |
update
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,8 +15,8 @@ source=("$_pkgname::git+https://github.com/zenixls2/alacritty.git#branch=ligatur sha256sums=('SKIP') pkgver() { - cd "${_pkgname}" - printf "0.6.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd $_pkgname/alacritty + echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2|cut -d\- -f1).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" } build(){ |