summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederic Bezies2023-12-17 13:46:34 +0100
committerFrederic Bezies2023-12-17 13:46:34 +0100
commit509f7388e70254f36530c35fed6d2d4e127886ee (patch)
tree441d288cd7dfd040973e5499b565a42485d4be9c /PKGBUILD
parentdd6bec9e04232ac189eb78ec209d07f58f6b5002 (diff)
downloadaur-gnome-shell-extension-openweather-git.tar.gz
Fixed PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1f0392511d1a..adc006cea0cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,10 @@
# Contributor: jtts
# Contributor: Christian METZLER <neroth@xeked.com>
pkgname=gnome-shell-extension-openweather-git
-_pkgbase=openweather
-pkgver=121.r11.g22859b4
+_pkgbase=gnome-shell-extension-openweather
+pkgver=r1268.9117377
pkgrel=1
+epoch=1
pkgdesc="Gnome shell extension for displaying weather information"
arch=(any)
url="https://github.com/toppk/gnome-shell-extension-openweather"
@@ -19,7 +20,8 @@ sha256sums=('SKIP')
pkgver() {
cd "$_pkgbase"
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ #git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {