summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTom Hacohen2020-08-21 14:32:42 +0300
committerTom Hacohen2020-08-21 14:32:44 +0300
commit4051e450d2058376bbf96e4ba13c9ee02fa33943 (patch)
tree12b39dd7d3ae523c0270ca40aafae996b9090924 /PKGBUILD
parent7b1df3712f91f683eb2f8702422e1abb7322b16f (diff)
downloadaur-4051e450d2058376bbf96e4ba13c9ee02fa33943.tar.gz
Fix version string and add git to makedpends.
Verion, update according to guidelines: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git Thanks to FabioLolix for bringing this up.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e4919114d29..cee8c01cdc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,22 @@
pkgname=etesync-git
_pkgname=etesync
-pkgver=0.1.0.75
+pkgver=0.1.0.r75.917fff5
pkgrel=1
pkgdesc="EteSync C library"
arch=(x86_64)
url="https://github.com/etesync/etesync-rs"
license=('LGPL')
depends=('openssl')
-makedepends=('cargo')
+makedepends=('cargo' 'git')
source=("${_pkgname}::git+https://github.com/etesync/etesync-rs.git")
sha512sums=('SKIP')
provides=(etesync)
conflicts=(etesync)
pkgver() {
- cd "$_pkgname"
- printf "0.1.0.%s" "$(git rev-list --count HEAD)"
+ cd "$_pkgname"
+ printf "0.1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {