summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfunilrys2020-03-29 01:25:53 +0100
committerfunilrys2020-03-29 01:25:53 +0100
commit36913beeb551feaf05e855852ed2785ca9fd647d (patch)
tree0ee3ced237440c5a5cebb51161fd0d1ed231323a
parente9f6e913eff02e6cc1c276fcc5ae860bce6ddd1d (diff)
downloadaur-36913beeb551feaf05e855852ed2785ca9fd647d.tar.gz
Update version of backupninja
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d2fc7b832c4f..8279de41bb32 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = backupninja-git
pkgdesc = A centralized way to configure and schedule many different backup utilities
- pkgver = 1.0.2.14.ge0b4375
- pkgrel = 2
+ pkgver = 872.f9529d1
+ pkgrel = 1
url = https://labs.riseup.net/code/projects/backupninja
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 743497346b9b..61f9fb95bc34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Nissar Chababy <funilrys at outlook dot com>
_pkgname=backupninja
pkgname=$_pkgname-git
-pkgver=1.0.2.14.ge0b4375
-pkgrel=2
+pkgver=872.f9529d1
+pkgrel=1
pkgdesc="A centralized way to configure and schedule many different backup utilities"
arch=('any')
url="https://labs.riseup.net/code/projects/backupninja"
@@ -21,7 +21,7 @@ backup=('etc/backupninja.conf')
pkgver() {
cd "$SRCDEST/$_pkgname"
- git describe --always | sed 's|-|.|g' | cut -d "v" -f2
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {