aboutsummaryrefslogtreecommitdiffstats
path: root/community/imapsync/APKBUILD
blob: 6d4d2e26e642953b0e3852bf3080e5d913e94e1f (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=imapsync
pkgver=1.727
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-tester perl-unicode-string perl-uri
	perl-test-mockobject perl-readonly perl-json-webtoken"
makedepends="perl-module-scandeps perl-par-packer"
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 || return 1

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

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

md5sums="e753235abed1d8162f2c9adbc916291c  imapsync-1.727.tar.gz"
sha256sums="5028727d476a581335105ff24ea677311afa5ce6f812f0926cb2377635791468  imapsync-1.727.tar.gz"
sha512sums="b5ab0f3b4ae12d9d65d5c65e65fa5778ade5ac68432523fcb6839e84af742abf5a3ca0a04d3308936c7b99f16415b9d8076f96ec37d84e82dcdf53413f625e75  imapsync-1.727.tar.gz"