summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorForud2019-10-02 14:14:50 +0200
committerForud2019-10-02 14:14:50 +0200
commit18c1eaccfd0cbe2c17081a64f1553df0a684f776 (patch)
treeae8642785cc943edd4fa0785cca0062bbfc93917
parentcf4651a47669daa3e8f3b088e89fd0023a76e45b (diff)
downloadaur-18c1eaccfd0cbe2c17081a64f1553df0a684f776.tar.gz
change the source and remove the v from the version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 35188720a73..d8bbb29ff62 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,7 @@ pkgbase = jcal-git
license = GPL3
makedepends = git
provides = jcal
- source = git://github.com/fzerorubigd/jcal.git
+ source = git://github.com/persiancal/jcal.git
md5sums = SKIP
pkgname = jcal-git
diff --git a/PKGBUILD b/PKGBUILD
index 18557533854..d7418fbc9f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname='jcal-git'
_gitname=jcal
#The real value will be calculated by pkgver() function
-pkgver=v0.4.1.r1.ge4678be
+pkgver=0.4.1.r3.g4a9a37a
pkgrel=1
pkgdesc="Jalali calendar is a small and portable free software library to manipulate date and time in Jalali calendar system"
@@ -15,13 +15,13 @@ license=('GPL3')
provides=('jcal')
depends=()
makedepends=('git')
-source=('git://github.com/fzerorubigd/jcal.git')
+source=('git://github.com/persiancal/jcal.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitname}"
- git describe --tags | sed 's/-/.r/; s/-/./'
+ git describe --tags | sed 's/^v//; s/-/.r/; s/-/./'
}
build() {