aboutsummaryrefslogtreecommitdiffstats
path: root/main/email/APKBUILD
blob: b212a62c3b541013843750c5e13905fb8d66c9ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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"