updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / starcal-git / PKGBUILD
bloba571a3a88fb86a3ac5ef7e0d7d188f5b8be1426a
1 # Maintainer: Saeed Rasooli <saeed.gnu at gmail dot com>
3 pkgname=starcal-git
4 pkgver=20110510
5 pkgrel=1
6 pkgdesc='A full-featured international calendar writen in Python'
7 arch=('any')
8 url=(http://starcal.sourceforge.net)
9 license=('GPLv3')
10 depends=('python2>=2.6' 'pygtk>=2.8' 'pygobject' 'python2-numpy')
11 optdepends=('python2-qt' 'python-gnomeapplet' 'kdebindings-python' 'python2-gnomevfs')
12 makedepends=('git')
13 conflicts=('starcal2')
14 _gitroot='git://github.com/ilius/starcal2.git'
15 _gitname='starcal2'
17 build() {
18     cd $srcdir
20     msg "Clone the source from git...."
21     if [ -d ${srcdir}/$_gitname ] ; then
22         cd $_gitname && \
23         git pull origin && \
24         msg "The local files are updated."
25     else
26         git clone $_gitroot
27     fi
28     msg "GIT checkout done or server timeout"
29         
30     msg "Building package..."
32     "$srcdir/${_gitname}/install" "$pkgdir" --for-pkg