PKGBUILD 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Maintainer: bill-auger <bill-auger@programmer.net>
  2. # Maintainer (AUR): Simon Hanna <simon dot hanna AT serve-me DOT info>
  3. pkgname=('python-lazr-config' 'python2-lazr-config')
  4. pkgver=2.1
  5. pkgrel=1
  6. pkgdesc="Is typically used to manage process configuration"
  7. arch=(any)
  8. url=https://launchpad.net/lazr.config
  9. license=('LGPL')
  10. options=(!emptydirs)
  11. makedepends=('python-setuptools' 'python2-setuptools')
  12. _upstream_name='lazr.config'
  13. _release=${_upstream_name}-${pkgver}
  14. source=(https://pypi.python.org/packages/source/${_upstream_name:0:1}/${_upstream_name}/${_release}.tar.gz)
  15. sha256sums=('5f380f5defd1f2e0db7483f5b55072e458dcba1d38ea8b2c7867de8127970689')
  16. package_python-lazr-config()
  17. {
  18. depends=('python' 'python-lazr-delegates' 'python-nose' 'python-setuptools'
  19. 'python-zope-interface')
  20. cd "${srcdir}/${_release}"
  21. python setup.py install --root="$pkgdir/" --optimize=1
  22. }
  23. package_python2-lazr-config()
  24. {
  25. depends=('python2' 'python2-lazr-delegates' 'python2-nose' 'python2-setuptools'
  26. 'python2-zope-interface')
  27. cd "${srcdir}/${_release}"
  28. python2 setup.py install --root="$pkgdir/" --optimize=1
  29. }