1 # Maintainer: Dominik Köppl <dominik@devwork.org>
3 # annual - Reminder for annual events
4 # Keeps track of all your anniversaries and hopefully reminds you at the right time.
5 # Copyright (C) 2011 Dominik Köppl
7 # This program is free software: you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by the Free
9 # Software Foundation, either version 3 of the License, or (at your option)
12 # This program is distributed in the hope that it will be useful, but WITHOUT
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17 # You should have received a copy of the GNU General Public License along
18 # with this program. If not, see <http://www.gnu.org/licenses/>.
24 pkgdesc='Reminds for annual events like birthdays, holidays, etc.'
25 arch=('i686' 'x86_64')
26 url='http://www.nongnu.org/annual/'
28 depends=('qt>=4.6', 'perl-xml-xpath')
32 #install="$pkgname.install"
35 _gitroot="git://git.savannah.nongnu.org/$_pkgname.git"
41 msg "Connecting to GIT server...."
42 if [ -d $_gitname ] ; then
43 cd $_gitname && git pull origin
44 msg "The local files are updated."
46 git clone --depth=1 $_gitroot $_gitname
48 msg "GIT checkout done or server timeout"
49 msg "Starting make..."
50 cd "$srcdir/$_gitname"
51 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo .
56 cd "$srcdir/$_gitname"
57 make DESTDIR=$pkgdir install