blob: 49f4594b8f17d9900ccc666729006e572d3dd085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Mubashshir <ahmubashshir@gmail.com>
# Contributor: Marek Kubica <marek@xivilization.net>
# from: git
pkgname=git-cal-git
pkgver=r96.b3bb376
pkgrel=4
pkgdesc='github like contributions calendar on terminal'
arch=('any')
url='https://github.com/k4rthik/git-cal'
license=('MIT')
depends=('perl>=5.10.0')
makedepends=("git")
options=('!emptydirs')
source=("$pkgname"::"git+https://github.com/k4rthik/git-cal.git")
sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
# git describe can't describe anything without tags
printf "r%d.%s\n" "$(git rev-list HEAD --count)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -D -m755 git-cal "$pkgdir"/usr/bin/git-cal
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/"${pkgname}"/LICENSE
}
|