diff options
author | Michal Ulianko | 2018-09-21 21:42:23 +0200 |
---|---|---|
committer | Michal Ulianko | 2018-09-21 21:42:23 +0200 |
commit | 055b2d97ebf02bbc489353eae2144d68edeead10 (patch) | |
tree | 1166e2d0507057f0befa885d2e53f31786649f29 | |
parent | 6acb0fbebee4fa9fbec643755f1e251966d54c93 (diff) | |
download | aur-055b2d97ebf02bbc489353eae2144d68edeead10.tar.gz |
Fix dependencies, build outside of the sources directory.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = coin-hg pkgdesc = A high-level, retained-mode 3D graphics toolkit compatible with Open Inventor 2.1 - pkgver = r11806.e3c366fe1863 + pkgver = r11844.cf2a467adeca pkgrel = 1 url = https://bitbucket.org/Coin3D/coin arch = x86_64 @@ -8,7 +8,7 @@ pkgbase = coin-hg makedepends = mercurial makedepends = cmake makedepends = doxygen - depends = libgl + depends = glu provides = coin conflicts = coin source = coin::hg+https://bitbucket.org/Coin3D/coin#branch=default @@ -1,13 +1,13 @@ # Maintainer: Michal Ulianko <michal (dot) ulianko (at) gmail (dot) com> pkgname=coin-hg -pkgver=r11806.e3c366fe1863 +pkgver=r11844.cf2a467adeca pkgrel=1 pkgdesc="A high-level, retained-mode 3D graphics toolkit compatible with Open Inventor 2.1" arch=('x86_64') url="https://bitbucket.org/Coin3D/coin" license=('BSD') -depends=('libgl') +depends=('glu') makedepends=('mercurial' 'cmake' 'doxygen') provides=("${pkgname%-hg}") conflicts=("${pkgname%-hg}") @@ -24,14 +24,16 @@ pkgver() { } build() { - cd "$srcdir/coin" + mkdir "$srcdir/build" + cd "$srcdir/build" cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="/usr" \ - -DCMAKE_INSTALL_LIBDIR="/usr/lib" + -DCMAKE_INSTALL_LIBDIR="/usr/lib" \ + ../coin make } package() { - cd "$srcdir/coin" + cd "$srcdir/build" make DESTDIR="$pkgdir/" install } |