PKGBUILDs/community/mairix/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
848 B
Bash

# 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.21
pkgrel=2
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=('821619895931711c370f51f3442a0ded')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1
mkdir -p $pkgdir/usr/share/
mv $pkgdir/usr/man $pkgdir/usr/share/ && \
install -D -m 644 dotmairixrc.eg $startdir/pkg/etc/mairixrc.sample
}