updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / jcal-git / PKGBUILD
blob5f814d1ba9f3c594e6e6091c72abfe583e59e243
1 # Maintainer: FzerorubigD <Fzerorubigd {AT} GMail {DOT} com>
3 pkgname=jcal-git
4 pkgver=20110630
5 pkgrel=1
6 pkgdesc="Jalali calendar is a small and portable free software library to manipulate date and time in Jalali calendar system"
7 arch=('any')
8 url="http://www.nongnu.org/jcal/"
9 license=('GPL3')
10 depends=()
11 makedepends=('git')
12 source=()
13 md5sums=()
15 #install=$pkgname.install
17 _gitroot=git://git.sv.gnu.org/jcal.git
18 _gitname=jcal
20 build() {
21   cd $srcdir
22   msg "Connecting to githup.com GIT server...."
24   if [ -d $_gitname ] ; then
25     cd $_gitname && git pull origin && cd ..
26     msg "The local files are updated."
27   else
28     git clone $_gitroot
29   fi
30   cd $_gitname/sources
32   msg "GIT checkout done or server timeout"
33   ./autogen.sh
34   ./configure --prefix=/usr
35   make
36   make DESTDIR=$pkgdir install