aboutsummaryrefslogtreecommitdiffstats
path: root/community/isync/APKBUILD
blob: 85c71a6cc3c8368a9e823c74e0a6844dfdeb7a43 (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=isync
pkgver=1.2.1
pkgrel=0
pkgdesc="IMAP and MailDir mailbox synchronizer"
url="http://isync.sourceforge.net"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev openssl-dev cyrus-sasl-dev zlib-dev db-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://downloads.sourceforge.net/sourceforge/isync/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="7ba1a07c7b487a3ab5fef54d0071f1dd  isync-1.2.1.tar.gz"
sha256sums="e716de28c9a08e624a035caae3902fcf3b511553be5d61517a133e03aa3532ae  isync-1.2.1.tar.gz"
sha512sums="706379e602cdcef3a1ca7eaf2301cfea15b9bbb5ee46c8f598308ad68a48725c6a4d13a2e73cc4633efec34fda1dbcb89bdd0e4c2e06993fa24db69cce9ff50b  isync-1.2.1.tar.gz"