summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory-F2020-10-04 15:06:10 +0200
committerGregory-F2020-10-04 15:06:10 +0200
commit41b83b60c43c8764db0cd4a5182851f82bd262d8 (patch)
tree110e61020cb45f9b2843e5d91ac06ad03b0f92a4
parentccde33b5fbd74f854e363fae2de7ec412eeeb96f (diff)
downloadaur-41b83b60c43c8764db0cd4a5182851f82bd262d8.tar.gz
Modifications requested caltlgin
-rw-r--r--PKGBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 89c9a952478..7153153169f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,6 @@
-# This is an example PKGBUILD file. Use this as a start to creating your own,
-# and remove these comments. For more information, see 'man PKGBUILD'.
-# NOTE: Please fill out the license field for your package! If it is unknown,
-# then please put 'unknown'.
-
-# Maintainer: Your Name <youremail@domain.com>
+# Maintainer: Gregory-F <guegre1979@netcourrier.com>
pkgname=gf_backup_tool-git
-pkgver=20201003
+pkgver=1.0.r3.ccde33b
pkgrel=1
pkgdesc="Backup Terminal tool based on rsync & systemd"
arch=('x86_64')
@@ -17,7 +12,7 @@ depends=('systemd'
'bash'
)
install=gf_backup_tool.install
-makedepends=(git sudo)
+makedepends=(git)
checkdepends=()
backup=('etc/gf_backup_tool/config'
'etc/gf_backup_tool/exclude_file')
@@ -28,7 +23,8 @@ validpgpkeys=()
pkgver() {
cd "${_pkgname}"
- date +%Y%m%d
+ #date +%Y%m%d
+ printf "1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}