# Contributor: Isaac C. Aronson <i@pingas.org>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=pulledpork
pkgver=0.6.1
pkgrel=3
pkgdesc="Tool to automatically update rules for snort"
arch=('any')
url="http://code.google.com/p/pulledpork"
license=('GPL')
depends=('perl' 'perl-lwp-protocol-https' 'perl-crypt-ssleay' 'perl-archive-tar' 'perl-switch')
optdepends=('snort')
source=(http://pulledpork.googlecode.com/files/pulledpork-0.6.1.tar.gz)

package() {
  cd $srcdir/$pkgname-$pkgver
  install -Dm644 etc/pulledpork.conf $pkgdir/etc/pulledpork.conf
  install -Dm755 pulledpork.pl $pkgdir/usr/sbin/pulledpork.pl
}