summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d44e7877070..d7a6107901b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = etesync-git
pkgdesc = EteSync C library
- pkgver = 0.1.0.75
+ pkgver = 0.1.0.r75.917fff5
pkgrel = 1
url = https://github.com/etesync/etesync-rs
arch = x86_64
license = LGPL
makedepends = cargo
+ makedepends = git
depends = openssl
provides = etesync
conflicts = etesync
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() {