1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Michal Hybner <dta081@gmail.com>
8 pkgdesc="serialmail is a collection of tools for passing mail across serial links."
10 url="http://cr.yp.to/serialmail.html"
12 source=(http://cr.yp.to/software/serialmail-${pkgver}.tar.gz
13 http://www.jeenyus.net/linux/software/maildircmd/maildircmd-1.0.patch
18 cd ${srcdir}/serialmail-${pkgver}/
20 patch -p1 -i ${srcdir}/errno.patch || return 1
21 patch -p1 -i ${srcdir}/conf_home.patch || return 1
22 patch -p1 -i ${srcdir}/maildircmd-1.0.patch || return 1
23 rm maildirqmtp maildirsmtp
25 mkdir -p ${pkgdir}/usr/bin/ || return 1
28 for bin in maildircmd maildirqmtp maildirserial maildirsmtp serialcmd serialqmtp serialsmtp setlock; do
29 cp ${bin} ${pkgdir}/usr/bin/${bin} || return 1
33 md5sums=('e6a3049863ae8577b1780fcd9fbc98a9'
34 '1a5fb7cdebdb42a5bd54d0d8734caf8a'
35 '06e637b389fb73dfab3bb1380a33b625'
36 'f902d2bc40b408b8d3f6674ffb85ebdc')