blob: 2a419139e2b3368f77b3f307ad7984edb7e9fce6 (
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
30
31
|
# Maintainer: Vladimir Panteleev <arch-pkg at thecybershadow.net>
pkgname=femtomail-git
pkgver=r10.e278dfc
pkgrel=1
pkgdesc="Minimal sendmail replacement for forwarding mail to a single Maildir box"
arch=('i686' 'x86_64')
url="https://git.lekensteyn.nl/femtomail/"
license=('GPL')
provides=('smtp-forwarder')
conflicts=('smtp-forwarder' 'smtp-server')
depends=('glibc')
makedepends=('gcc' 'git')
install="femtomail.install"
source=("git+https://git.lekensteyn.nl/femtomail.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/femtomail"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/femtomail"
make USERNAME=femtomail MAILBOX_PATH=/var/lib/femtomail
}
package() {
cd "$srcdir/femtomail"
make install-link-sendmail DESTDIR="$pkgdir" sbindir=/usr/bin
}
|