blob: d879b6c23d278f82d93ebbadb04978d6d7da56cc (
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
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:
|