diff options
author | haawda | 2019-12-15 13:39:41 +0100 |
---|---|---|
committer | haawda | 2019-12-15 13:39:41 +0100 |
commit | 38a04c06fbc328ad6d324edd87665e9a4d08915f (patch) | |
tree | 13f406eee55e6a688b5fc10cddb40d2f062fd767 | |
parent | edf96e31e269f83a01f86e145683a3526a8f4563 (diff) | |
download | aur-38a04c06fbc328ad6d324edd87665e9a4d08915f.tar.gz |
shorten pkgver function
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = emacs-solidity-mode-git pkgdesc = Solidity mode package for Emacs - pkgver = 0.1.8r69.b5d95ef + pkgver = 0.1.9.r112 pkgrel = 1 url = https://github.com/ethereum/emacs-solidity arch = any @@ -2,7 +2,7 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=emacs-solidity-mode-git -pkgver=0.1.8r69.b5d95ef +pkgver=0.1.9.r112 pkgrel=1 pkgdesc='Solidity mode package for Emacs' url='https://github.com/ethereum/emacs-solidity' @@ -14,7 +14,7 @@ depends=('emacs') pkgver() { cd ${pkgname} - printf "%sr%s.%s" "$(awk '/;; Version:/ {print $3}' solidity-mode.el)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "%s.r%s" "$(awk '/;; Version:/ {print $3}' solidity-mode.el)" "$(git rev-list --count HEAD)" } package() { |