1 # Contributor: Chris Baker <baker.chris.3@gmail.com>
2 pkgname=checkgmail-svn-notify-osd
5 pkgdesc="An alternative Gmail Notifier for Linux and other *nix systems in svn version with notify-osd."
7 url="http://checkgmail.sourceforge.net"
9 depends=('perl-gtk2-trayicon' 'perl-libwww' 'perl-crypt-ssleay'
10 'perl-xml-simple' 'notify-osd' 'libnotify')
11 optdepends=('perl-crypt-simple' 'perl-gtk2-sexy' 'perl-crypt-blowfish'
12 'perl-freezethaw' 'perl-digest-md5' 'perl-mime-types'
14 makedepends=('subversion')
15 conflicts=('checkgmail' 'checkgmail-svn' 'checkgmail-notify-osd')
16 provides=('checkgmail')
17 source=('checkgmail.desktop' 'checkgmail.png' 'checkgmail.patch')
18 md5sums=('5f55c1208e054552483834fd7b96d0e7'
19 'f551f6cefb06201b03f8cb41fc85edb3'
20 '6f2da07e0b5743751c9d901185bfa051')
21 _svntrunk="http://checkgmail.svn.sourceforge.net/svnroot/checkgmail"
26 if [ -d $_svnmod/.svn ]; then
27 (cd $_svnmod && svn up -r $pkgver)
29 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
35 patch < ../checkgmail.patch || return 1
37 install -D -m 755 $srcdir/$_svnmod/checkgmail $startdir/pkg/usr/bin/checkgmail || return 1
38 install -D -m 644 $srcdir/$_svnmod/man/checkgmail.1.gz $startdir/pkg/usr/share/man/man1/checkgmail.1.gz || return 1
39 install -D -m 644 $srcdir/checkgmail.desktop $startdir/pkg/usr/share/applications/checkgmail.desktop || return 1
40 install -D -m 644 $srcdir/checkgmail.png $startdir/pkg/usr/share/pixmaps/checkgmail.png || return 1