diff options
author | Mohammadreza Abdollahzadeh | 2017-12-09 20:59:07 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2017-12-09 20:59:07 +0330 |
commit | 4751fb90e6084a4e5cceb76faf9ab91d2dcd00f8 (patch) | |
tree | 6054af8cccaf70e8953d4235e2326c2c3c853922 | |
parent | fe9b4d4d6fb9bb54b71abebf7c53bc308dd6284a (diff) | |
download | aur-4751fb90e6084a4e5cceb76faf9ab91d2dcd00f8.tar.gz |
fix PKGBUILD and change versioning number
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 9 insertions, 5 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Fri Nov 24 10:25:45 UTC 2017 +# Sat Dec 9 17:28:02 UTC 2017 pkgbase = gnome-shell-extension-dash-to-panel-git pkgdesc = Extension for GNOME shell to combine the dash and main panel - pkgver = r262.187ac72 + pkgver = 11.r23.g9b5f264 pkgrel = 1 url = https://github.com/jderose9/dash-to-panel install = gnome-shell-extension.install @@ -12,6 +12,8 @@ pkgbase = gnome-shell-extension-dash-to-panel-git makedepends = gnome-common makedepends = intltool depends = gnome-shell>=3.18 + provides = gnome-shell-extension-dash-to-panel + conflicts = gnome-shell-extension-dash-to-panel source = git+https://github.com/jderose9/dash-to-panel.git sha256sums = SKIP @@ -3,7 +3,7 @@ # Contributor: Carl George < arch at cgtx dot us > pkgname=gnome-shell-extension-dash-to-panel-git -pkgver=r262.187ac72 +pkgver=11.r23.g9b5f264 pkgrel=1 pkgdesc='Extension for GNOME shell to combine the dash and main panel' arch=(any) @@ -12,14 +12,16 @@ _githubowner=jderose9 url="https://github.com/${_githubowner}/${_githubname}" license=(GPL2) depends=('gnome-shell>=3.18') -makedepends=(git gnome-common intltool) +makedepends=('git' 'gnome-common' 'intltool') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") install='gnome-shell-extension.install' source=("git+${url}.git") sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_githubname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |