diff options
author | Forud | 2019-10-02 14:14:50 +0200 |
---|---|---|
committer | Forud | 2019-10-02 14:14:50 +0200 |
commit | 18c1eaccfd0cbe2c17081a64f1553df0a684f776 (patch) | |
tree | ae8642785cc943edd4fa0785cca0062bbfc93917 | |
parent | cf4651a47669daa3e8f3b088e89fd0023a76e45b (diff) | |
download | aur-18c1eaccfd0cbe2c17081a64f1553df0a684f776.tar.gz |
change the source and remove the v from the version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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() { |