diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 5 deletions
@@ -1,12 +1,13 @@ pkgbase = git-cal-git pkgdesc = github like contributions calendar on terminal - pkgver = r22 + pkgver = 0.0.r71.d2cdf42 pkgrel = 1 url = https://github.com/k4rthik/git-cal arch = any license = MIT makedepends = git depends = perl>=5.10.0 + depends = perl-libwww options = !emptydirs source = git-cal-git::git+https://github.com/k4rthik/git-cal.git sha512sums = SKIP @@ -1,12 +1,13 @@ # Maintainer: Marek Kubica <marek@xivilization.net> pkgname=git-cal-git -pkgver=r22 +pkgver=0.0.r71.d2cdf42 pkgrel=1 pkgdesc='github like contributions calendar on terminal' arch=('any') url='https://github.com/k4rthik/git-cal' license=('MIT') -depends=('perl>=5.10.0') +depends=('perl>=5.10.0' + 'perl-libwww') makedepends=("git") options=('!emptydirs') source=("$pkgname"::"git+https://github.com/k4rthik/git-cal.git") @@ -15,8 +16,7 @@ sha512sums=(SKIP) pkgver() { cd "$pkgname" # git describe can't describe anything without tags - local ver="$(git log --oneline | wc -l)" - printf "r%s" "${ver//-/.}" + printf "0.0.r%d.%s\n" $(git rev-list HEAD --count) $(git rev-parse --short HEAD) } package() { |