aboutsummaryrefslogtreecommitdiffstats
path: root/community/imapsync/APKBUILD
blob: 2b62d2a3178def3778db2eb9654c4a76aa1da44d (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=imapsync
pkgver=1.836
pkgrel=0
pkgdesc="IMAP synchronisation, sync, copy or migration tool"
url="http://imapsync.lamiral.info"
arch="noarch"
license="custom"
depends="perl-authen-ntlm
	perl-class-load
	perl-crypt-openssl-rsa
	perl-data-dumper
	perl-data-uniqid
	perl-digest-hmac
	perl-digest-md5
	perl-dist-checkconflicts
	perl-file-copy-recursive
	perl-io-compress
	perl-io-socket-inet6
	perl-io-socket-ssl
	perl-io-tee
	perl-json-webtoken
	perl-libwww
	perl-mail-imapclient
	perl-parse-recdescent
	perl-readonly
	perl-sys-meminfo
	perl-term-readkey
	perl-test-fatal
	perl-test-mock-guard
	perl-test-mockobject
	perl-test-pod
	perl-test-requires
	perl-test-simple
	perl-unicode-string
	perl-uri
	"
makedepends="perl-module-scandeps perl-par-packer"
options="!check" # tests.sh requires authors remote imap password
subpackages="$pkgname-doc"
source="https://github.com/$pkgname/$pkgname/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

package() {
	cd "$builddir"

	make DESTDIR="$pkgdir" install

	mkdir -p "$pkgdir"/usr/share/doc/$pkgname
	install -Dm644 FAQ.d/* "$pkgdir"/usr/share/doc/$pkgname/

	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="f1ea1ef887ebcfa62c90254b3738602dc78275400a7d8dd5af33bc399c82c28d8567ee42d9ebf85735e7df857bf548608e09f01a06bd146f317faa3b4702cbeb  imapsync-1.836.tar.gz"