summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eda79fca3e62..b3d55136ce62 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libcec-git
pkgdesc = Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter
- pkgver = 3.1.0.25.g62b8520
+ pkgver = 4.0.0.3.r0.g209884d
pkgrel = 1
epoch = 1
url = https://github.com/Pulse-Eight/libcec
diff --git a/PKGBUILD b/PKGBUILD
index 87b9ce2f6dea..1c1a89237582 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libcec-git
epoch=1
-pkgver=3.1.0.25.g62b8520
+pkgver=4.0.0.3.r0.g209884d
pkgrel=1
pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter"
arch=('i686' 'x86_64')
@@ -18,7 +18,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir"/libcec
- git describe --tags | sed 's|libcec-||;s|-|.|g'
+ git describe --long --tags | sed 's!^libcec-!!;s!\([^-]*-g\)!r\1!;s!-!.!g'
}
build() {