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

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

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

sha512sums="246dcf0704c0afaad7c402a5fc304ccfd533dc084cd775df4d8d2cb53e69f5236a603d56a54f63b389049a556e23c0dfafb80a4ba929e1b4cffb90200eaf65d6  isync-1.2.2.tar.gz
2c13b7881a1031a618ba467f3a7dcebfc6074bdea833957feeefe7906f8b435dc4733d31c47a0de0441975804afea5677c6754d10979320133808fbe45587266  libressl-compat.patch"