diff options
Diffstat (limited to 'main/razor')
-rw-r--r-- | main/razor/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/razor/APKBUILD b/main/razor/APKBUILD index a0d951e71f..669258c712 100644 --- a/main/razor/APKBUILD +++ b/main/razor/APKBUILD @@ -3,12 +3,12 @@ pkgname=razor _realname=razor-agents pkgver=2.84 -pkgrel=3 +pkgrel=4 pkgdesc="Vipul's Razor is a distributed, collaborative spam detection and filtering network" url="http://razor.sourceforge.net/" arch="all" license="Artistic" -depends="perl perl-digest-sha1 perl-getopt-long perl-uri-escape" +depends="perl perl-digest-sha1 perl-getopt-long perl-uri" makedepends="perl-dev" install= subpackages="$pkgname-doc" @@ -19,6 +19,10 @@ build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 +} + +package() { + cd "$srcdir/$_realname-$pkgver" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete |