aboutsummaryrefslogtreecommitdiffstats
path: root/main/email/APKBUILD
blob: bd0471532eb43df807d3dc4499f1d23e85924386 (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
31
32
33
34
35
36
37
38
39
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=email
pkgver=3.1.4
pkgrel=0
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.gz"

subpackages="$pkgname-doc"

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

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

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

md5sums="b9d5d201bef581d601d73a524373db60  email-3.1.4.tar.gz"
sha256sums="21dcc31aa04c7c50bff59fd3c5a74648825af69925501c0c3849380209a4c4d2  email-3.1.4.tar.gz"
sha512sums="1c57bd0465e82f8a44bea83936e2c48d1fbd1faecf3dfccba6be857c384b2c8d78a0c035c3e434ecb9df6151809fb6b792874bff927623f3adf7d499b61125c0  email-3.1.4.tar.gz"