aboutsummaryrefslogtreecommitdiffstats
path: root/main/email/APKBUILD
blob: da5a47bc5fd4339a42f2b43f522fd3828edaf578 (plain)
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
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=email
pkgver=3.1.3
pkgrel=0
pkgdesc="A command line SMTP client that's simple"
url="http://www.cleancode.org/projects/email"
arch="x86 x86_64"
license="GPL"
depends="openssl"
makedepends="openssl-dev"
source="http://www.cleancode.org/downloads/email/email-$pkgver.tar.bz2"

subpackages="$pkgname-doc"

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"