salt-api_PKGBUILD 778 B

1234567891011121314151617181920212223242526272829303132
  1. # Maintainer: Christer Edwards <christer.edwards@gmail.com>
  2. pkgname=salt-api
  3. pkgver=0.8.0
  4. pkgrel=1
  5. pkgdesc="Salt API is used to expose the fundamental aspects of Salt control to external sources."
  6. arch=(any)
  7. url="https://github.com/saltstack/salt-api"
  8. license=("APACHE")
  9. depends=('python2'
  10. 'salt')
  11. backup=()
  12. makedepends=()
  13. optdepends=()
  14. options=()
  15. conflicts=()
  16. source=("http://pypi.python.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.gz"
  17. salt-api.service)
  18. md5sums=('e9239a7184ced5d426696735456ee829'
  19. '37f667db44f63fb5dd7b81acf736b0db')
  20. package() {
  21. cd ${srcdir}/${pkgname}-${pkgver}
  22. python2 setup.py install --root=${pkgdir}/ --optimize=1
  23. install -Dm644 ${srcdir}/salt-api.service ${pkgdir}/usr/lib/systemd/system/salt-api.service
  24. }