summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornl67202017-06-01 11:28:36 +0300
committernl67202017-06-01 11:28:36 +0300
commitca669654add1610f215e7ef85759e4179d676e4c (patch)
tree4dfd70a0971426da9e5809c6aed9c33674ef6b43
parent51016c19f005b39b230f57cde6d0580e4ef11e12 (diff)
downloadaur-ca669654add1610f215e7ef85759e4179d676e4c.tar.gz
Fix pkgver
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f580eec1e02..0c4df7020fa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = refind-efi-git
pkgdesc = rEFInd Boot Manager - git version - Built with GNU-EFI libs
- pkgver = 0.10.4.2.r518.76f5e60
+ pkgver = 0.10.8.1.r558.85e61fb
pkgrel = 1
url = http://www.rodsbooks.com/refind/
install = refind-efi.install
@@ -20,7 +20,7 @@ pkgbase = refind-efi-git
optdepends = sbsigntools: For EFI binary signing (Secure Boot support)
optdepends = preloader-signed: pre-signed shim loader (Secure Boot support)
optdepends = shim-signed: pre-signed shim loader (Secure Boot support)
- provides = refind-efi=0.10.4.2.r518.76f5e60
+ provides = refind-efi=0.10.8.1.r558.85e61fb
conflicts = refind-efi
options = !strip
options = !buildflags
diff --git a/PKGBUILD b/PKGBUILD
index 87aeaf8ba82..65cb0da15b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ _PXE='0'
_pkgname='refind'
pkgname="${_pkgname}-efi-git"
-pkgver=0.10.4.2.r518.76f5e60
+pkgver=0.10.8.1.r558.85e61fb
pkgrel=1
pkgdesc='rEFInd Boot Manager - git version'
url='http://www.rodsbooks.com/refind/'
@@ -72,7 +72,7 @@ pkgver() {
cd "${srcdir}/${_pkgname}/"
- printf "%s.r%s.%s" "$(grep -o 'REFIND_VERSION=.*' "${srcdir}/${_pkgname}/Makefile" | grep -Eo '([0-9]|\.)+')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "%s.r%s.%s" "$(grep -oP 'REFIND_VERSION L"\K[^"]+' "${srcdir}/${_pkgname}/include/version.h")" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}