aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 9acbb5649599cb2265e6f06e064368d23eba3b9a (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
32
33
34
35
36
37
38
39
pkgname=isync-git
pkgver=1.3.0.r759.17f3348
pkgrel=1

pkgdesc="IMAP mail synchronizer for offline/batch mail editing"
url="http://isync.sourceforge.net"
arch=('i686' 'x86_64')
license=('GPL')

conflicts=('isync')
replaces=('isync')

depends=('openssl' 'libsasl' 'cyrus-sasl-gssapi')
makedepends=('git' 'perl-timedate')

source=('git://git.code.sf.net/p/isync/isync')

sha256sums=('SKIP')

pkgver() {
	cd isync
	echo $(grep -m 1 -o -E "[0-9.]*" configure.ac)'.r'$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

prepare() {
	cd isync
	./autogen.sh
}

build() {
	cd isync
	./configure --prefix=/usr --with-sasl=/usr/lib/sasl2
	make
}

package() {
	cd isync
	make DESTDIR="$pkgdir" install
}