summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2019-10-01 00:02:22 -0600
committerBrian Bidulock2019-10-01 00:02:22 -0600
commitb437b040520b7264fe67c2168d96f67466f7e4f2 (patch)
tree389cc0d4f8bebf8a9a85194f4af53250a074736e
parente1b06d156c5ff1a63f894faaf025f8c7ad09f911 (diff)
downloadaur-x11vnc-git.tar.gz
better versions
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8c8c76e9df5..52cce8b6247 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = x11vnc-git
pkgdesc = VNC server for real X displays
- pkgver = 0.9.14.r524.gcb88cb2
+ pkgver = 0.9.16.r12.g97d632c
pkgrel = 1
+ epoch = 1
url = https://LibVNC.github.io
arch = i686
arch = x86_64
@@ -21,7 +22,7 @@ pkgbase = x11vnc-git
optdepends = net-tools: -auth guess
optdepends = xf86-video-dummy: Xdummy script
optdepends = java-environment: java-applet support
- provides = x11vnc
+ provides = x11vnc=1:0.9.16-1
conflicts = x11vnc
source = x11vnc-git::git+https://github.com/LibVNC/x11vnc.git
source = x11vnc.service
diff --git a/PKGBUILD b/PKGBUILD
index 4c2a4938f45..b0ae292bf32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,13 @@
# Contributor: damir <damir@archlinux.org>
pkgname=x11vnc-git
-pkgver=0.9.14.r524.gcb88cb2
+pkgver=0.9.16.r12.g97d632c
pkgrel=1
+epoch=1
pkgdesc='VNC server for real X displays'
url="https://LibVNC.github.io"
arch=('i686' 'x86_64')
license=('GPL')
-provides=('x11vnc')
-conflicts=('x11vnc')
depends=('cairo' 'libxcursor' 'libxcomposite' 'libvncserver-git' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
makedepends=('git' 'autoconf-archive')
optdepends=('tk: GUI support'
@@ -22,10 +21,12 @@ source=("$pkgname::git+https://github.com/LibVNC/x11vnc.git"
"x11vnc.service")
sha1sums=('SKIP'
'9e3838c8dcd4e0a20ab7808937375476cf191318')
+provides=("x11vnc=${epoch:+$epoch:}${pkgver%%.r*}-${pkgrel}")
+conflicts=("x11vnc")
pkgver() {
cd $pkgname
- printf "0.9.14.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed -E 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,-,.,g'
}
prepare() {