summaryrefslogtreecommitdiff
path: root/community/rblcheck/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rblcheck/PKGBUILD')
-rw-r--r--community/rblcheck/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/rblcheck/PKGBUILD b/community/rblcheck/PKGBUILD
new file mode 100644
index 000000000..d879b6c23
--- /dev/null
+++ b/community/rblcheck/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 72842 2012-06-23 19:47:22Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+
+pkgname=rblcheck
+pkgver=1.5
+pkgrel=1
+pkgdesc='Tool to Query RBL Servers'
+arch=('i686' 'x86_64')
+url='http://rblcheck.sourceforge.net/'
+license=('GPL2')
+depends=('glibc' 'bash')
+backup=('etc/rblcheckrc')
+source=("http://downloads.sourceforge.net/rblcheck/$pkgname-$pkgver.tar.gz"
+ '01-change-filename-tags-for-directories.patch'
+ '02-fix-configure.patch'
+ '03-custom-rbl.patch'
+)
+md5sums=('fb7ee9adc0e09eee9dda195f9b9e7ca4'
+ '9e8ed44f4bc6abf235a14065b6aa373c'
+ '2db00ffd71e17753e89c0968c76d5871'
+ 'f9ff2de975584f71f7794550691a0272')
+
+build() {
+ cd $pkgname-$pkgver
+ for p in "$srcdir"/*.patch; do
+ msg2 "Apply patch ${p##*/}"
+ patch -p 1 -i "$p"
+ done
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm 644 /dev/null "$pkgdir/etc/rblcheckrc"
+}
+
+# vim:set ts=2 sw=2 ft=sh et: