diff options
author | Shohei Maruyama | 2023-01-17 19:31:02 +0900 |
---|---|---|
committer | Shohei Maruyama | 2023-01-17 19:31:02 +0900 |
commit | d8792d654743eb600587daecb82d17fde5ea8386 (patch) | |
tree | 6960c9859536f36ee45cc74d93bac03511e73a25 /PKGBUILD | |
parent | 9a377099f106958f421fa1611d258c6e014633aa (diff) | |
download | aur-elm-git.tar.gz |
PKGBUILD: Change pkgver()
Change pkgver() to use the most recently tag.
Signed-off-by: Shohei Maruyama <cheat.sc.linux@outlook.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ pkgname='elm-git' pkgver=0.18.0.r1814.g047d5026 -pkgrel=1 +pkgrel=2 pkgdesc='Compiler for Elm, a functional language for reliable webapps' arch=('x86_64' 'aarch64') url='https://github.com/elm/compiler' @@ -32,7 +32,7 @@ sha256sums=('SKIP') pkgver() { cd compiler - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { |