blob: 036c1d92f6cee5ea62032d4cc69a864b5629a5af (
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
40
41
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=msmtp
pkgver=1.6.8
pkgrel=0
pkgdesc="SMTP client with a sendmail compatible interface"
url="https://marlam.de/msmtp/"
arch="all"
license="GPL-3.0-or-later"
options="!check" # no test suite
makedepends="gettext-dev libressl-dev"
subpackages="$pkgname-doc $pkgname-lang $pkgname-vim:vim:noarch"
source="https://marlam.de/msmtp/releases/$pkgname-$pkgver.tar.xz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-ssl=openssl
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
vim() {
depends=""
pkgdesc="Vim syntax for $pkgname"
install -Dm644 "$builddir"/scripts/vim/$pkgname.vim \
"$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim
}
sha512sums="58ccdb6f16ab31959aeb1929c11f820219d4be062edca209c5986e4e0932d718f6f39c81727d05cd448779cedc4ab3e7bb557ce9f5dd3e7cc95e0aa5c3b623bf msmtp-1.6.8.tar.xz"
|