aboutsummaryrefslogblamecommitdiffstats
path: root/main/email/APKBUILD
blob: b212a62c3b541013843750c5e13905fb8d66c9ed (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                    
             
            
        

                                                  
          
             
                 
                         
                                                                       


                          




                                                    

                                     
        
                     


                                       
                        



                                     


                                      
                                                               
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=email
pkgver=3.1.3
pkgrel=3
pkgdesc="A command line SMTP client that's simple"
url="http://www.cleancode.org/projects/email"
arch="all"
license="GPL"
depends="openssl"
makedepends="openssl-dev"
source="http://www.cleancode.org/downloads/email/email-$pkgver.tar.bz2"

subpackages="$pkgname-doc"

prepare() {
	cd "$srcdir/$pkgname-$pkgver"
	sed -i -e 's/^\(VCARD.*\)/\# \1/' email.conf
}

build() {
	cd "$srcdir/$pkgname-$pkgver"
	
	./configure \
	        --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

md5sums="a6f55ad946b4492b9ad05af0d5e4f1fe  email-3.1.3.tar.bz2"