# Contributor: Stuart Cardall # Maintainer: Stuart Cardall 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"