1 # Contributor: Nathan Owe <ndowens.aur at gmail dot com>
5 pkgdesc="Distributed Checksum Clearinghouse spam tool"
6 url="http://www.rhyolite.com/anti-spam/dcc/"
10 source=(http://www.rhyolite.com/anti-spam/dcc/source/old/$pkgname-$pkgver.tar.Z \
11 http://www.rhyolite.com/dcc/LICENSE)
12 md5sums=('cbc80dcb61fa22dd9cad7fc5edfbfc9d'
13 'b88af7cf9c6a5c7ec47e8df22d2ffe69')
17 cd $srcdir/$pkgname-$pkgver
18 ./configure --with-installroot=${pkgdir} \
19 --mandir=/usr/share/man --homedir=/opt/dcc \
20 --bindir=/usr/bin --libexecdir=/usr/lib/dcc
25 cd $srcdir/$pkgname-$pkgver
26 make DESTDIR=${pkgdir}/ install
27 install -d $pkgdir/usr/share/licenses/$pkgname
28 install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
31 find $pkgdir/ -group bin -exec chgrp root {} \;
32 find $pkgdir/ -user bin -exec chown root {} \;
33 find $pkgdir/opt/dcc -type f -exec chmod 644 {} \;
34 chmod 755 $pkgdir/opt/dcc/log