[arch-commits] Commit in razor/repos (3 files)

Florian Pritz bluewind at archlinux.org
Sun May 27 07:44:24 UTC 2012


    Date: Sunday, May 27, 2012 @ 03:44:23
  Author: bluewind
Revision: 159933

db-move: moved razor from [staging] to [testing] (x86_64)

Added:
  razor/repos/testing-x86_64/
  razor/repos/testing-x86_64/PKGBUILD
    (from rev 159819, razor/repos/staging-x86_64/PKGBUILD)
Deleted:
  razor/repos/staging-x86_64/

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: razor/repos/testing-x86_64/PKGBUILD (from rev 159819, razor/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-05-27 07:44:23 UTC (rev 159933)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Dale Blount <dale at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=razor
+pkgver=2.84
+pkgrel=7
+pkgdesc="A distributed, collaborative, spam detection and filtering network"
+arch=('i686' 'x86_64')
+url="http://razor.sourceforge.net"
+license=('PerlArtistic')
+depends=('perl-net-dns' 'perl-digest-sha1' 'perl-uri' 'perl-digest-nilsimsa' 'perl')
+options=('!emptydirs')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-agents-${pkgver}.tar.bz2")
+md5sums=('8b9a11a6ce020383c32c45d1530d77c2')
+
+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
+
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}"/${pkgname}-agents-${pkgver}
+  make test
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-agents-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  # cd ${pkgdir}/usr/bin
+  # for i in razor-check razor-report razor-revoke razor-admin; do 
+  #  /bin/ln -sf razor-client $i; 
+  # done
+}




More information about the arch-commits mailing list