aboutsummaryrefslogtreecommitdiffstats
path: root/community/imapsync/APKBUILD
blob: d1380682cfb6b2fe33c9ef99a3c8e3766c5bbc50 (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=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-digest-hmac perl-authen-ntlm perl-io-compress perl-data-dumper
	perl-data-uniqid perl-digest-md5 perl-file-copy-recursive perl-io-socket-inet6
	perl-io-socket-ssl perl-io-tee perl-mail-imapclient perl-parse-recdescent
	perl-term-readkey perl-test-pod perl-test-simple perl-unicode-string perl-uri
	perl-test-mockobject perl-readonly perl-json-webtoken perl-class-load
	perl-dist-checkconflicts perl-libwww perl-test-fatal perl-test-mock-guard
	perl-sys-meminfo perl-crypt-openssl-rsa perl-test-requires
	"
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"