mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Maintainer: Dale Blount <dale@archlinux.org>
|
|
# Contributor: Manolis Tzanidakis
|
|
|
|
pkgname=razor
|
|
pkgver=2.84
|
|
pkgrel=2.1
|
|
pkgdesc="A distributed, collaborative, spam detection and filtering network."
|
|
arch=('arm')
|
|
url="http://razor.sourceforge.net"
|
|
license=('PerlArtistic')
|
|
depends=('glibc' 'perl-net-dns' 'perl-digest-sha1' 'perl-uri' 'perl-digest-nilsimsa' 'perl>=5.10.0')
|
|
source=(http://downloads.sourceforge.net/sourceforge/razor/${pkgname}-agents-${pkgver}.tar.bz2)
|
|
md5sums=('8b9a11a6ce020383c32c45d1530d77c2')
|
|
options=(!emptydirs)
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-agents-${pkgver}
|
|
|
|
# skip install_razor_agents (we'll do the linking later)
|
|
# /bin/sed -i "s|install :: all pure_install doc_install install_razor_agents|install :: all pure_install doc_install|g" Makefile
|
|
|
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
/usr/bin/make || return 1
|
|
/usr/bin/make DESTDIR=${pkgdir} install
|
|
|
|
# remove perllocal.pod and .packlist
|
|
/usr/bin/find ${pkgdir} -name perllocal.pod -delete
|
|
/usr/bin/find ${pkgdir} -name .packlist -delete
|
|
|
|
# cd $startdir/pkg/usr/bin
|
|
# for i in razor-check razor-report razor-revoke razor-admin; do
|
|
# /bin/ln -sf razor-client $i;
|
|
# done
|
|
}
|