diff options
Diffstat (limited to 'testing/blists/APKBUILD')
-rw-r--r-- | testing/blists/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/blists/APKBUILD b/testing/blists/APKBUILD new file mode 100644 index 0000000000..e900f263c6 --- /dev/null +++ b/testing/blists/APKBUILD @@ -0,0 +1,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" |