Date: Friday, October 30, 2020 @ 18:02:26 Author: freswa Revision: 736903
archrelease: copy trunk to community-any Added: imapsync/repos/community-any/ imapsync/repos/community-any/PKGBUILD (from rev 736902, imapsync/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: imapsync/repos/community-any/PKGBUILD (from rev 736902, imapsync/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2020-10-30 18:02:26 UTC (rev 736903) @@ -0,0 +1,37 @@ +# Maintainer: Frederik Schwan <freswa at archlinux dot org> + +pkgname=imapsync +pkgver=1.945 +pkgrel=2 +pkgdesc='IMAP synchronisation, sync, copy or migration tool' +arch=('any') +url='https://github.com/imapsync/imapsync' +license=('custom:imapsync') +depends=('perl-cgi' 'perl-crypt-openssl-rsa' 'perl-data-uniqid' 'perl-date-manip' + 'perl-file-copy-recursive' 'perl-file-tail' 'perl-html-parser' 'perl-io-socket-inet6' + 'perl-io-socket-ssl' 'perl-io-tee' 'perl-json-webtoken' 'perl-libwww' 'perl-module-scandeps' + 'perl-mail-imapclient' 'perl-module-runtime' 'perl-ntlm' 'perl-package-stash' + 'perl-readonly' 'perl-regexp-common' 'perl-sys-meminfo' + 'perl-term-readkey' 'perl-unicode-string') +makedepends=('cpanminus' 'perl-par-packer') +checkdepends=('inetutils' 'lsb-release' 'time' 'procps-ng' 'perl-test-deep' 'perl-test-fatal' + 'perl-test-mock-guard' 'perl-test-mockobject' 'perl-test-pod' 'perl-test-requires' + 'perl-test-warn') +source=("https://github.com/imapsync/imapsync/archive/${pkgname}-${pkgver}.tar.gz") +b2sums=('98ef55135239ed9625fdce9e8944c2f7a8c8c1b1020c383bbda4f3e18a486b5b691e22faaa896b21e897babb04954d548ff65bf04e79db719a1e8636f0e5e3fd') + +build() { + cd ${pkgname}-${pkgname}-${pkgver} + make +} + +check() { + cd ${pkgname}-${pkgname}-${pkgver} + make test +} + +package() { + cd ${pkgname}-${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt +}