summaryrefslogtreecommitdiffstats
path: root/unmaintained/mailutils/APKBUILD
blob: 220214f11402572469facdcb9542455a94b91a8a (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=mailutils
pkgver=2.0
pkgrel=0
pkgdesc="A useful collection of mail servers, clients, and filters."
url="http://www.gnu.org/software/mailutils/mailutils.html"
license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://ftp.gnu.org/gnu/mailutils/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install

	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="299ae73c1c0143de94d7486bf7f479a4  mailutils-2.0.tar.bz2"