updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / mailcheck / PKGBUILD
blobd36814d304bae9a040dcb256cae670434f24ce29
1 # Maintainer: Omar Campagne Polaino <ocampagne at gmail com>
3 pkgname=mailcheck
4 pkgver=1.91.2
5 pkgrel=1
6 pkgdesc="Check multiple mailboxes/maildirs for mail from the command line."
7 url=("http://mailcheck.sourceforge.net/")
8 arch=('i686' 'x86_64')
9 license=('GPL2')
10 makedepends=('quilt')
11 changelog=ChangeLog
13 source=("http://downloads.sourceforge.net/project/mailcheck/mailcheck/$pkgver/mailcheck_$pkgver.tar.gz"
14         "001_username.diff"
15         "002_advanced_counting.diff"
16         "003_no_stripping.diff"
17         "series")
19 md5sums=('d2a3a22a65b1006d213d8cb3f4738070'
20          '1ff0ee04682038455d0b3cce3022ecf8'
21          'fa32d950e8c4114d3354d6f7c10d2bfd'
22          'a8ad59bce56316aa92fc603f7bb2a11c'
23          '8a54141f89d45d0fb30ff3d33aee1f12')
25 build() {
26     cd $srcdir/mailcheck-$pkgver
27     mkdir -p patches
28     cp ../series patches/
29     cp ../*.diff patches/
30     quilt push -a
31     install -d $pkgdir/usr/bin  
32     install -d $pkgdir/etc
33     install -d $pkgdir/usr/share/man/man1/
34     install -m 644 mailcheck.1 $pkgdir/usr/share/man/man1/
35     make || return 1
36     make prefix=$pkgdir install || return 1