aboutsummaryrefslogblamecommitdiffstats
path: root/testing/getmail/APKBUILD
blob: a177076141c369b3b963cfc4a072490be0ef18f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             


                                                               
           
        


                                                                    
                      
                 
                         
                          
                                    
                                                                                
                                   

         
                      
                              


           
                      
                                                               
                                       
                                                                                                        

 
                                                                                                                                                                  
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=getmail
pkgver=5.13
pkgrel=0
pkgdesc="POP3, IMAP4, and SDPS mail retriever with Maildir delivery"
url="http://pyropus.ca/software/getmail/"
arch="noarch"
license="GPL-2.0-only"
depends="python2"
makedepends="python2-dev"
subpackages="$pkgname-doc"
options="!check" # contains no tests
source="http://pyropus.ca/software/getmail/old-versions/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
	# fix some broken shebang calls
	sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python2|" $(find $pkgdir -name '*.py')
}

sha512sums="398b1adf1bc4f90f98ca7154abad9d0769c4a6d0cccd6102ea992c97eff843f6a9f0a57f3a944bc17c3b664fe8d6c9d7f9da5be343be658afa36b1bb582ac347  getmail-5.13.tar.gz"