updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gotmail / PKGBUILD
blob7a615db2d6c4948a319178e971c39ea71868cf6e
1 # Contributor: Graziano <graziano.giuliani@poste.it>
3 pkgname=gotmail
4 pkgver=0.9.0
5 pkgrel=2
6 pkgdesc="Gotmail is a perl script to download mail from hotmail.com without \
7          user interaction. It is probably best run from a cron job."
8 url="http://sourceforge.net/projects/gotmail"
9 license="GPL"
10 arch=('i686' 'x86_64')
11 depends=('perl')
12 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}-$pkgver.tar.bz2)
13 md5sums=(f78ea561039e542c06a900ac6e22995a)
15 build() {
16   cd $startdir/src/$pkgname-$pkgver/
17   mkdir $startdir/pkg/usr
18   make install DESTDIR=$startdir/pkg \
19                MANCOMPRESS=gzip
20                INSTALL="/bin/install -p"
21   mkdir -p $startdir/pkg/usr/share/gotmail
22   install -m 644 sample.gotmailrc gotmail4evolution $startdir/pkg/usr/share/gotmail