aboutsummaryrefslogtreecommitdiffstats
path: root/main/email/APKBUILD
blob: 9f184840cd68743f4f1d8cb56d63a8f5e00c1f3a (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@gmail.com>
pkgname=email
pkgver=3.1.3
pkgrel=2
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"