aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/mailx-support/APKBUILD
blob: 503f203067cdff649c70fbb60542cc502a61bf4f (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=mailx-support
pkgver=20060102
pkgrel=0
pkgdesc="Provides lockspool utility"
url="http://www.openbsd.org"
license="BSD"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://gentoo.osuosl.org/distfiles/$pkgname-$pkgver.tar.bz2
	mailx-support-ldflags.patch"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	for i in ../*.patch; do
		msg "Appling $i..."
		patch -p1 < $i || return 1
	done

	make || return 1
	install -m755 -D "$srcdir"/"$pkgname-$pkgver"/lockspool "$pkgdir"/usr/libexec/lockspool
	install -m644 -D "$srcdir"/"$pkgname-$pkgver"/lockspool.1 "$pkgdir"-doc/usr/share/man/man1/lockspool.1
}

md5sums="3f671fe4368a5b536e8384980a9a5c80  mailx-support-20060102.tar.bz2
32a98aee973db8860f1f53a9297b8dd9  mailx-support-ldflags.patch"