aboutsummaryrefslogtreecommitdiffstats
path: root/testing/s-nail/APKBUILD
blob: 8d215acf869d6a47cc0ec63c1db3e602549f2ca9 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=s-nail
pkgver=14.8.16
_ver=${pkgver//./_}
pkgrel=0
pkgdesc="simple mail user agent for command line"
url="https://www.sdaoden.eu/code.html#s-nail"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
options="!check suid"

builddir="$srcdir"/s-nail-$pkgver
build() {
	cd "$builddir"
	make CONFIG=MEDIUM PREFIX=/usr SYSCONFDIR=/etc MANDIR=/usr/share/man \
		LIBEXECDIR=/usr/lib/s-nail \
		all
}

package() {
	cd "$builddir"
	make -f mk.mk install DESTDIR="$pkgdir" LIBEXECDIR=/usr/lib/s-nail
}

sha512sums="c6e431df0325cb2561bdc6dd507155829ab48cc8731971139d75058a1bfbd010eab3a1077b5c45ac7850d3b71ab45cf4df7ab62b1b6a1bf97b098b5278161b15  s-nail-14.8.16.tar.xz"