diff options
author | BiteDasher | 2021-08-27 23:14:02 +0300 |
---|---|---|
committer | BiteDasher | 2021-08-27 23:14:02 +0300 |
commit | a4d7bc85b06488047c0a725fbb4248a6ac6e1ca8 (patch) | |
tree | d0b78be1e4cea9c9ebd36c0c87805573fb191def | |
parent | a9e23cec1eb8074204ba774c65cd60b03d1eb473 (diff) | |
download | aur-a4d7bc85b06488047c0a725fbb4248a6ac6e1ca8.tar.gz |
change pkgver()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = kesboot-git pkgdesc = Script for automating work with EFI Kernel Stub (linux) pkgver = 1.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/BiteDasher/kesboot arch = any license = MIT @@ -1,8 +1,8 @@ # Maintainer: Artemii Sudakov <finziyr@yandex.ru> pkgname="kesboot-git" -pkgver="1.0" -pkgrel="2" +pkgver=1.0.r0.g5cc55d4 +pkgrel=1 pkgdesc='Script for automating work with EFI Kernel Stub (linux)' arch=('any') url="https://github.com/BiteDasher/kesboot" @@ -12,7 +12,8 @@ makedepends=('git') source=("${pkgname}::git+https://github.com/BiteDasher/kesboot.git") sha512sums=("SKIP") pkgver() { - git rev-parse --short HEAD + cd "$srcdir/$pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { cd "$srcdir/$pkgname" |