updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / syncmaildir / PKGBUILD
blobc32e2a876b0817da911ff60be6f33a4d95f270c3
1 # Contributor:
2 pkgname=syncmaildir
3 pkgver=1.1.1
4 pkgrel=1
5 pkgdesc="Synchronize a pair of mailboxes in Maildir format via ssh"
6 arch=(i686)
7 url="http://syncmaildir.sourceforge.net/"
8 license=('GPLv3')
9 groups=()
10 depends=(lua xdelta)
11 makedepends=(txt2man)
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=
18 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz)
19 md5sums=('7ec1a5dbc9d79f4bb687a5bf888aa6a4')
21 noextract=()
23 build() {
24   cd "$srcdir/$pkgname-$pkgver"
25   sed -e 's/mddiff smd-applet/mddiff/' \
26     -e 's/smd-loop.1 smd-applet.1/smd-loop.1/' \
27     -e '/applet/d' \
28     -e '/autostart/d' \
29     -e 's/^LUA=lua\$(LUAV)/LUA=lua/' \
30     -i Makefile
31   make PREFIX=/usr text/all || return 1
32   make PREFIX=/usr DESTDIR="$pkgdir/" text/install
35 # vim:set ts=2 sw=2 et: