1 # Maintainer: Jeremy Newton (Mystro256)
6 pkgdesc="Mailme is Yet Another 'You've got mail!' notifier, effectively adding email notification to telepathy/empathy. Works with telepathy accounts to produce mail notification."
8 url="https://github.com/jku/mailme"
10 depends=('telepathy-mission-control')
11 makedepends=('git' 'intltool')
12 optdepends=('telepathy-gabble: XMPP/Jabber support'
13 'telepathy-butterfly: MSN support'
14 'telepathy-idle: IRC support'
15 'telepathy-salut: Link-local XMPP support'
16 'telepathy-sofiasip: SIP support'
17 'telepathy-haze: libpurple support')
18 source=('mailme.desktop')
19 md5sums=('c2af928c5a0878039077bc09a1d691ae')
21 _gitroot='git://github.com/jku/mailme.git'
26 msg "Connecting to GIT server...."
28 if [ -d $_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
32 git clone $_gitroot $_gitname
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_gitname-build"
39 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
44 ./autogen.sh --prefix=${pkgdir}/usr
49 install -D -Dm664 $srcdir/mailme.desktop "$pkgdir/etc/xdg/autostart/mailme.desktop"