Package Details: jcal-git 0.5.1.r13.g3cb54e5-3

Git Clone URL: https://aur.archlinux.org/jcal-git.git (read-only, click to copy)
Package Base: jcal-git
Description: Jalali calendar is a small and portable free software library to manipulate date and time in Jalali calendar system
Upstream URL: http://www.nongnu.org/jcal/
Licenses: GPL3
Provides: jcal
Submitter: fzerorubigd
Maintainer: fzerorubigd
Last Packager: fzerorubigd
Votes: 27
Popularity: 0.67
First Submitted: 2011-06-30 10:04 (UTC)
Last Updated: 2025-04-02 08:00 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Aftermath commented on 2025-04-06 15:13 (UTC)

Thanks again for maintaining this package.

NotAriaN commented on 2025-04-02 07:24 (UTC)

Thanks for maintaining this, Building without automake will result in error:

==> Starting build()...
* checking for aclocal... no
error: aclocal was not foundon your system. autogen.sh cannot continue.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'jcal-git-0.5.1-1': 
error: packages failed to build: jcal-git-0.5.1-1

Please add automake as build dependency.

ArMor007 commented on 2023-05-21 07:29 (UTC) (edited on 2023-05-21 07:35 (UTC) by ArMor007)

The package fails to build for me under zsh, according to https://github.com/persiancal/jcal/issues/7 I made this change an it worked.

diff --git a/PKGBUILD b/PKGBUILD
index 1941cf9..83bccad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ pkgver() {
 build() {
    cd "${srcdir}/${_gitname}/sources"
    ./autogen.sh
-   ./configure --prefix=/usr
+   CONFIG_SHELL=/usr/bin/bash ./configure --prefix=/usr
 make
 }

MarsSeed commented on 2022-02-26 00:27 (UTC)

GitHub is permanently discontinuing git:// protocol access by mid-March.

Please kindly update the Git repo URL in source array to use git+https:// protocol.

morealaz commented on 2022-01-03 12:40 (UTC) (edited on 2022-01-03 12:44 (UTC) by morealaz)

@fzerorubigd: I have a couple of suggestion for PKGBUILD:

instead of _gitname=jcal and adding a new variable you can use ${pkgname%-git}

and so instead of ${srcdir}/${_gitname} you can use ${pkgname%-git}, no need to use ${srcdir}

and finally please use git+https://github.com/persiancal/jcal.git as source address so my AUR helper did not complain about url!! thanks

<deleted-account> commented on 2019-10-02 14:21 (UTC)

@fzerorubigd: thank you, but it seems that you didn't update .SRCINFO file properly, because the AUR version number didn't change.

fzerorubigd commented on 2019-10-02 12:15 (UTC)

Ok, I don't have anything against removing it, also the source changed and now it is using the new source

<deleted-account> commented on 2019-10-02 12:04 (UTC)

Hi @fzerorubigd: could you please change pkgver() to this:

pkgver() {
  cd "${srcdir}/${_gitname}"
  git describe --tags | sed 's/^v//; s/-/.r/; s/-/./'
}

to get rid of v from version number? thank you.

fzerorubigd commented on 2019-09-07 22:02 (UTC)

@tuxitop honestly, I can't see any advantage for breaking this tiny utility in two separate packages.

tuxitop commented on 2019-09-07 20:49 (UTC) (edited on 2019-09-07 20:54 (UTC) by tuxitop)

I'd like to suggest splitting this package to provide separate jdate-git and jcal-git packages.

Please refer to the following URL for more information on Package Splitting.