SHARE
TWEET

Untitled

a guest Sep 21st, 2018 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. diff --git a/PKGBUILD b/PKGBUILD
  3. index 4d163a0..cce608c 100644
  4. --- a/PKGBUILD
  5. +++ b/PKGBUILD
  6. @@ -1,7 +1,7 @@
  7.  # Maintainer: Michal Ulianko <michal (dot) ulianko (at) gmail (dot) com>
  8.  
  9.  pkgname=coin-hg
  10. -pkgver=r11806.e3c366fe1863
  11. +pkgver=r11844.cf2a467adeca
  12.  pkgrel=1
  13.  pkgdesc="A high-level, retained-mode 3D graphics toolkit compatible with Open Inventor 2.1"
  14.  arch=('x86_64')
  15. @@ -24,14 +24,16 @@ pkgver() {
  16.  }
  17.  
  18.  build() {
  19. -    cd "$srcdir/coin"
  20. -    cmake -DCMAKE_BUILD_TYPE=Release \
  21. +    mkdir "$srcdir/build"
  22. +    cd "$srcdir/build"
  23. +    cmake "$srcdir/coin" \
  24. +         -DCMAKE_BUILD_TYPE=Release \
  25.            -DCMAKE_INSTALL_PREFIX="/usr" \
  26.            -DCMAKE_INSTALL_LIBDIR="/usr/lib"
  27.      make
  28.  }
  29.  
  30.  package() {
  31. -    cd "$srcdir/coin"
  32. +    cd "$srcdir/build"
  33.      make DESTDIR="$pkgdir/" install
  34.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top