updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pysnmp-mibs / PKGBUILD
blob0621767ee2ef793537afffd65691342874609ed3
1 # Contributor: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=pysnmp-mibs
3 pkgver=0.0.8a
4 pkgrel=2
5 arch=('i686' 'x86_64')
6 license=('custom:BSD')
7 pkgdesc="Pre-compiled MIB modules for PySNMP"
8 url="http://sourceforge.net/projects/pysnmp/"
9 depends=('python2' 'setuptools')
10 source=(http://mesh.dl.sourceforge.net/sourceforge/pysnmp/files/$pkgname-$pkgver.tar.gz)
11 md5sums=('274f0ac3a4bb31471d0799fee60883a6')
12 build() {
13         cd $startdir/src/$pkgname-$pkgver
14         python2 setup.py install --root=$startdir/pkg || return 1
15         # install LICENSE
16         install -D -m 644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE