1 # Contributor: Nicolas Martyanoff <khaelin@gmail.com>
5 pkgdesc="A SNMP trap handler"
6 url="http://snmptt.sourceforge.net"
8 source=("http://downloads.sourceforge.net/project/snmptt/snmptt/snmptt_${pkgver}/snmptt_${pkgver}.tgz")
9 md5sums=('ee8d8206d3e0d860fee126e09d8eb207')
10 arch=('i686' 'x86_64')
11 depends=('perl' 'perl-config-inifiles')
14 cd $startdir/src/snmptt_${pkgver}
16 mkdir -p $startdir/pkg/var/log/snmptt
18 install -D -m755 snmptt $startdir/pkg/usr/bin/snmptt
19 install -D -m755 snmptthandler $startdir/pkg/usr/bin/snmptthandler
20 install -D -m755 snmpttconvert $startdir/pkg/usr/bin/snmpttconvert
21 install -D -m755 snmpttconvertmib $startdir/pkg/usr/bin/snmpttconvertmib
22 install -D -m644 snmptt.ini $startdir/pkg/etc/snmptt.ini