snmpsim pkgbuild updated to 0.2.0
This commit is contained in:
parent
25a1081fc1
commit
c52afc70e6
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
pkgname=snmpsim
|
||||
pkgver=0.1.3
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="a software that would act like a multitude of real physical devices from SNMP Manager's point of view"
|
||||
arch=(any)
|
||||
|
@ -10,11 +10,11 @@ depends=('python' 'python-pysnmp' 'python-pyasn1')
|
|||
optdepends=('pycrypto: SNMPv3 support')
|
||||
options=(!emptydirs)
|
||||
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('93719ca49ed013c3819a1f057a412347')
|
||||
md5sums=('f2c06db6c2c75e6fd3cf2c39127ebfa3')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
sed -i '1i #!/usr/bin/env python' build/scripts-3.2/*.py
|
||||
sed -i '1i #!/usr/bin/env python' scripts/*.py
|
||||
python setup.py install --root="$pkgdir/" --optimize=1
|
||||
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue