Commit a6b2edc8 authored by TBK's avatar TBK Committed by Sören Tempel
Browse files

main/msmtp: modernize

parent 1cf26a28
......@@ -7,12 +7,9 @@ pkgdesc="SMTP client with a sendmail compatible interface"
url="http://msmtp.sourceforge.net/"
arch="all"
license="GPL-3.0-or-later"
depends=""
makedepends="libressl-dev"
install=""
subpackages="$pkgname-doc $pkgname-vim:vim:noarch"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
......@@ -23,14 +20,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-ssl=openssl \
|| return 1
make || return 1
--with-ssl=openssl
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
}
vim() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment