summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoratomlong2021-09-08 21:28:42 +0800
committeratomlong2021-09-08 21:30:34 +0800
commit5c9e35f96d11179afc970acfe49b93450a37d259 (patch)
tree64db9483f02c98dce4f68d0af154179292cc9d8f /PKGBUILD
parent6b36c495605c3d6910ed663af3e0f595ebca4f04 (diff)
downloadaur-mingw-w64-libxlsxwriter-git.tar.gz
update to latest reversion
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7af060905a9..c012963f7fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Michael Yang <ohmyarchlinux@gmail.com>
pkgname=mingw-w64-libxlsxwriter-git
-pkgver=0.7.5.r528.18c8cb6
+pkgver=1.1.3.r853.7f54faa
pkgrel=1
pkgdesc='A C library for creating Excel XLSX files (mingw-w64)'
arch=('any')
@@ -18,7 +18,7 @@ _architectures='i686-w64-mingw32 x86_64-w64-mingw32'
pkgver() {
cd libxlsxwriter
- echo "$(grep LXW_VERSION include/xlsxwriter.h | cut -d '"' -f2).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ echo "$(grep -Po "LXW_VERSION\s*\"\K[^\"]+" include/xlsxwriter.h).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {