summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2eb93f6382a37374cf95b1fd23d870bd702cb2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: orumin <dev@orum.in>

pkgname=python2-junos-eznc
pkgver=1.3.1
pkgrel=2
pkgdesc="Python library for Junos automation"
arch=('any')
url="https://github.com/Juniper/py-junos-eznc"
license=('Apache')
depends=('python2')
source=(https://github.com/Juniper/py-junos-eznc/archive/1.3.1.tar.gz)
md5sums=('f2c0687d5cfbad35dbd393184dc10c1c')

package() {
  cd "$srcdir/py-junos-eznc-$pkgver"
  python2 setup.py install --prefix=/usr --root=$pkgdir
  install -D -m644 $srcdir/py-junos-eznc-$pkgver/COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
}