blob: 1941cf9765f443e0c40017bbb79b4b6b77bfd179 (
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
29
30
31
32
33
34
35
36
37
|
# Maintainer: fzerorubigd <fzero{AT}rubi{DOT}gd>
pkgname='jcal-git'
_gitname=jcal
#The real value will be calculated by pkgver() function
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"
url="http://www.nongnu.org/jcal/"
arch=('any')
license=('GPL3')
provides=('jcal')
depends=()
makedepends=('git')
source=('git+https://github.com/persiancal/jcal.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitname}"
git describe --tags | sed 's/^v//; s/-/.r/; s/-/./'
}
build() {
cd "${srcdir}/${_gitname}/sources"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${_gitname}/sources"
make DESTDIR=$pkgdir install
}
|