Guest User

bartus

a guest
Oct 23rd, 2018
105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index ea11b70..9f4bbc3 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -1,8 +1,8 @@
  6. # Maintainer: Forest Crossman <cyrozap at gmail dot com>
  7.  
  8. pkgname=opengv-git
  9. -pkgver=r91.0b2017d
  10. -pkgrel=2
  11. +pkgver=r139.a2ba31c
  12. +pkgrel=1
  13. pkgdesc="An efficient C++ library for calibrated camera pose computation using geometric computer vision algorithms."
  14. arch=('i686' 'x86_64')
  15. url="https://laurentkneip.github.io/opengv/"
  16. @@ -12,12 +12,9 @@ makedepends=('boost' 'cmake' 'git')
  17. provides=("${pkgname%-git}")
  18. conflicts=("${pkgname%-git}")
  19. source=("${pkgname%-git}::git+https://github.com/laurentkneip/opengv.git"
  20. - "https://github.com/laurentkneip/opengv/pull/61.patch"
  21. - "https://github.com/laurentkneip/opengv/pull/76.patch")
  22. + "git+https://github.com/pybind/pybind11.git")
  23. sha256sums=('SKIP'
  24. - 'SKIP'
  25. - 'SKIP')
  26. -
  27. + 'SKIP')
  28. pkgver() {
  29. cd "$srcdir/${pkgname%-git}"
  30.  
  31. @@ -25,18 +22,16 @@ pkgver() {
  32. }
  33.  
  34. prepare() {
  35. - cd "$srcdir/${pkgname%-git}"
  36. -
  37. - patch -p1 < ../61.patch
  38. - patch -p1 < ../76.patch
  39. -
  40. - [ ! -d build ] || rm -r build
  41. + cd ${srcdir}/${pkgname%-git}
  42. + git submodule init
  43. + git config submodule.pybind11.url ${srcdir}/pybind11
  44. + git submodule update
  45. }
  46.  
  47. build() {
  48. cd "$srcdir/${pkgname%-git}"
  49.  
  50. - mkdir build
  51. + mkdir -p build
  52. cd build
  53. cmake .. \
  54. -DCMAKE_INSTALL_PREFIX=/usr \
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×