Advertisement
Guest User

ignition-transport PKGBUILD

a guest
Oct 21st, 2016
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.07 KB | None | 0 0
  1. # Maintainer: Benjamin Chrétien <chretien dot b plus aur at gmail dot com>
  2. # Updated for 1.4.0
  3. pkgname=ignition-transport
  4. pkgver=1.4.0
  5. pkgrel=1
  6. pkgdesc="The transport library combines ZeroMQ with Protobufs to create a fast and efficient message passing system"
  7. arch=('i686' 'x86_64')
  8. url="http://ignitionrobotics.org"
  9. license=('Apache')
  10. groups=('development')
  11. depends=('protobuf' 'protobuf-c' 'zeromq' 'uuid')
  12. makedepends=('cmake' 'ruby-ronn' 'pkg-config>=0.28' 'doxygen')
  13. optdepends=()
  14. conflicts=()
  15. source=("https://bitbucket.org/ignitionrobotics/ign-transport/get/${pkgname}_${pkgver}.tar.bz2")
  16. sha256sums=('5d9f5f696fadfb19e8008033c749cdcb00df3263bc27f94a66b845b683123d8b')
  17.  
  18. _dir="ignitionrobotics-ign-transport-e7bbd5f19b05"
  19.  
  20. prepare() {
  21.   cd "${srcdir}/${_dir}"
  22.   mkdir -p build && cd build
  23.  
  24.   cmake .. -DCMAKE_BUILD_TYPE="Release" \
  25.            -DCMAKE_INSTALL_PREFIX="/usr" \
  26.            -DCMAKE_INSTALL_LIBDIR="lib"
  27. }
  28.  
  29. build() {
  30.   cd "${srcdir}/${_dir}/build"
  31.   make
  32. }
  33.  
  34. package() {
  35.   cd "${srcdir}/${_dir}/build"
  36.   make DESTDIR="${pkgdir}/" install
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement