aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/blists/APKBUILD
blob: e900f263c6b017a2af85a6a964ef5615180daa2f (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=blists
pkgver=1.0
pkgrel=0
pkgdesc="Web interface to mailing list archives"
url="http://www.openwall.com/blists/"
arch="all"
license="BSD"
depends=
makedepends=
install=
subpackages=
source="http://www.openwall.com/blists/blists-$pkgver.tar.gz"

_builddir="$srcdir"/blists-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -D bit "$pkgdir"/usr/bin/bit
	install -D bindex "$pkgdir"/usr/bin/bindex
}

md5sums="bd84e3793ec05d3910631e7b55e32630  blists-1.0.tar.gz"