summaryrefslogtreecommitdiffstats
path: root/main/email/APKBUILD
blob: 2d2b33701a9f12c79ec3534c67454b0049d6b485 (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=1
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"

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"