aboutsummaryrefslogblamecommitdiffstats
path: root/community/imapsync/APKBUILD
blob: c47b53ce362a271cd4a7fb36ade91d8f5073d8fc (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
            
        

                                                            
             
                


                           













                                

                                  

                             
                          

                         




                           
                      


                            
                            


                          
                      
         
                                                  
                          

                                                                            
                                            
 


                                                      
 
                            
                                        

 
           
                      
 
                                      
 
                                                 
                                                                
 
                                                                            

 

                                                                                                                                                                   
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=imapsync
pkgver=1.882
pkgrel=0
pkgdesc="IMAP synchronisation, sync, copy or migration tool"
url="http://imapsync.lamiral.info"
arch="noarch"
license="custom"
depends="perl-app-cpanminus
	perl-authen-ntlm
	perl-cgi
	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-module-implementation
	perl-package-stash
	perl-parse-recdescent
	perl-readonly
	perl-regexp-common
	perl-sys-meminfo
	perl-term-readkey
	perl-unicode-string
	perl-uri
	procps
	"
checkdepends="
	perl-test-deep
	perl-test-fatal
	perl-test-mock-guard
	perl-test-mockobject
	perl-test-nowarnings
	perl-test-pod
	perl-test-requires
	perl-test-simple
	perl-test-warn
	"
makedepends="perl-module-scandeps perl-par-packer"
subpackages="$pkgname-doc"
source="https://github.com/$pkgname/$pkgname/archive/$pkgname-$pkgver.tar.gz
	makefile.patch"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

# NOTE: tests.sh requires authors remote imap password
check() {
	cd "$builddir"

	./imapsync --version
	make testp  # check dependencies
}

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="3953cb29b210c283be3fe72f1e1537594415bd5457b469b801625d6c857b982d2b2b3da9528dd1e6ccc6831c022ce495f7a5eaaea04d228bca374f185344f455  imapsync-1.882.tar.gz
c017e2b437865ee83eae6fb66a034b9259720b9cd8bfe79c37e08cd6c1788bb16bba3b96f3861ea0c2ef77cc5a2663c9a6042dbc3434a193c331b4d6c3937b95  makefile.patch"