diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = apple_set_os pkgdesc = Tiny EFI program for unlocking the Intel integrated graphics device on the Macbook Pro 11,3 - pkgver = v1.r6.g7b6fa20 + pkgver = 1.r6.g7b6fa20 pkgrel = 1 url = https://github.com/0xbb/apple_set_os.efi arch = i686 @@ -1,7 +1,7 @@ # Maintainer: James An <james@jamesan.ca> pkgname=apple_set_os -pkgver=v1.r6.g7b6fa20 +pkgver=1.r6.g7b6fa20 pkgrel=1 pkgdesc='Tiny EFI program for unlocking the Intel integrated graphics device on the Macbook Pro 11,3' arch=('i686' 'x86_64') @@ -24,7 +24,7 @@ pkgver() { cd "$pkgname" ( set -o pipefail - git describe --long --tag | sed -r 's/([^-]*-g)/r\1/;s/-/./g' || + git describe --long --tag | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) } |