diff options
author | XZS | 2016-02-07 16:15:43 +0100 |
---|---|---|
committer | XZS | 2016-02-07 16:15:43 +0100 |
commit | 747a23ac53b01fb9f5a3f46b2d5b0fe73153c423 (patch) | |
tree | 0f8077e696e7e15dae3ad523b2fdccefabb77e89 | |
parent | 63fd3a824deb13cfab5739c7a3cdb9ebe13af582 (diff) | |
download | aur-747a23ac53b01fb9f5a3f46b2d5b0fe73153c423.tar.gz |
version provided non-git variant
Other packages usually depend on the package without any -git suffix.
This makes it possible to als satisfy these dependency requirements when
they target specific versions or version ranges.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 6 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sun Dec 6 00:42:03 UTC 2015 +# Sun Feb 7 15:15:04 UTC 2016 pkgbase = gnome-shell-extension-stealmyfocus-git pkgdesc = Shell Extension that let window that demand attention to steal focus - pkgver = r11.9fd4b4c + pkgver = r11 pkgrel = 1 url = https://github.com/v-dimitrov/gnome-shell-extension-stealmyfocus install = notice.install @@ -10,7 +10,7 @@ pkgbase = gnome-shell-extension-stealmyfocus-git license = GPLv2 makedepends = git depends = gnome-shell - provides = gnome-shell-extension-stealmyfocus + provides = gnome-shell-extension-stealmyfocus=r11 conflicts = gnome-shell-extension-stealmyfocus replaces = gnome-shell-extension-justshowthewindow source = gnome-shell-extension-stealmyfocus::git+https://github.com/v-dimitrov/gnome-shell-extension-stealmyfocus @@ -3,7 +3,7 @@ # You may find it convenient to file issues and pull requests there. pkgname=gnome-shell-extension-stealmyfocus-git -pkgver=r11.9fd4b4c +pkgver=r11 pkgrel=1 pkgdesc="Shell Extension that let window that demand attention to steal focus" arch=(any) @@ -15,8 +15,8 @@ install=notice.install makedepends+=('git') source+=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}") md5sums+=('SKIP') -provides+=($_gitname) -conflicts+=($_gitname) +provides+=("$_gitname=$pkgver") +conflicts+=("$_gitname") pkgver() { cd ${_gitname:-$pkgname} git describe --long --tags 2>/dev/null | sed 's/[^[:digit:]]*\(.\+\)-\([[:digit:]]\+\)-g\([[:xdigit:]]\{7\}\)/\1.r\2.g\3/;t;q1' |