1 # Contributor: Massimiliano Torromeo <Massimiliano DOT Torromeo AT gmail DOT com>
6 pkgdesc="A QT IMAP email client"
8 url="http://trojita.flaska.net"
11 makedepends=('git' 'cmake')
13 _gitroot="git://gitorious.org/${_pkgname}/${_pkgname}.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
37 install -D -m755 src/Gui/trojita "$pkgdir/usr/bin/trojita"
38 install -D -m644 src/Gui/trojita.desktop "$pkgdir/usr/share/applications/trojita.desktop"
39 install -D -m644 src/icons/trojita.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/trojita.svg"