# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Andrea Scarpino # Contributor: dibblethewrecker dtw.at.jiwe.dot.org pkgname=checkgmail pkgver=1.13 pkgrel=3 pkgdesc="An alternative Gmail Notifier for Linux and other *nix systems." arch=('i686' 'x86_64') url="http://checkgmail.sourceforge.net" license=('GPL') depends=('perl-gtk2-trayicon' 'perl-libwww' 'perl-crypt-ssleay' 'perl-xml-simple') optdepends=('perl-crypt-simple' 'perl-gtk2-sexy' 'perl-crypt-blowfish' 'perl-freezethaw') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 'checkgmail.desktop' 'checkgmail.png' 'svn-33.patch') md5sums=('8f6742ba9c09f7b7b23a5be2e14708c7' '2bc04f17400074aa6f3cd39fccd29b04' 'f551f6cefb06201b03f8cb41fc85edb3' 'cd42ddddeb68e9f59e9b80836ff8ac31') build() { cd "$startdir/src/$pkgname-$pkgver" patch -Np1 -i "$startdir/src/svn-33.patch" || return 1 install -D -m 755 $pkgname "$startdir/pkg/usr/bin/$pkgname" || return 1 install -D -m 644 man/$pkgname.1.gz "$startdir/pkg/usr/share/man/man1/$pkgname.1.gz" # freedesktop install -D -m 644 ../$pkgname.desktop "$startdir/pkg/usr/share/applications/$pkgname.desktop" install -D -m 644 ../$pkgname.png "$startdir/pkg/usr/share/pixmaps/$pkgname.png" }