summaryrefslogtreecommitdiff
path: root/community/mairix/PKGBUILD
blob: 4078c4e221481a5c067ccf86493468e30b6807be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 18519 2010-06-07 11:11:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
# Contributor: Giorgio Lando <patroclo7@gmail.com>
# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>

pkgname=mairix
pkgver=0.22
pkgrel=1
pkgdesc="A program for indexing and searching emails"
arch=('i686' 'x86_64')
url="http://www.rpcurnow.force9.co.uk/mairix/"
license=('GPL')
depends=(bzip2 zlib)
makedepends=('flex' 'bison')
install=$pkgname.install
source=(http://downloads.sf.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6c6aaca19c2b2de3bf567b856705ce1a')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$pkgdir install || return 1

  mkdir -p $pkgdir/usr/share/
  mv $pkgdir/usr/man $pkgdir/usr/share/ && \
  install -D -m 644 dotmairixrc.eg $pkgdir/etc/mairixrc.sample
}