# Maintainer: Carlo Landmeter pkgname=email pkgver=3.1.4 pkgrel=13 pkgdesc="command line SMTP client that's simple" options="!check" # No testsuite url="http://www.cleancode.org/projects/email" arch="all" license="GPL-2.0-or-later" depends="openssl>3" makedepends="openssl-dev>3" subpackages="$pkgname-doc" source="https://dev.alpinelinux.org/archive/email/email-$pkgver.tar.gz" builddir="$srcdir/$pkgname-3.1.3" # Release was made with the wrong tarball name prepare() { default_prepare sed -i -e 's/^\(VCARD.*\)/\# \1/' email.conf } build() { # Required under gcc-10 CFLAGS="$CFLAGS -fcommon" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man make } check() { ./src/email -h } package() { make DESTDIR="$pkgdir" install } sha512sums="1c57bd0465e82f8a44bea83936e2c48d1fbd1faecf3dfccba6be857c384b2c8d78a0c035c3e434ecb9df6151809fb6b792874bff927623f3adf7d499b61125c0 email-3.1.4.tar.gz"