diff options
author | Michal Ulianko | 2018-03-10 22:28:47 +0100 |
---|---|---|
committer | Michal Ulianko | 2018-03-10 22:28:47 +0100 |
commit | 0289ad45730a80c8acb4778027b4789b3e95b300 (patch) | |
tree | ea14710cd4453e4836e717ff1202200708294ddd /PKGBUILD | |
download | aur-0289ad45730a80c8acb4778027b4789b3e95b300.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5c55ab38eb55 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Michal Ulianko <michal (dot) ulianko (at) gmail (dot) com> + +pkgname=coin-hg +pkgver=r11683.7e191c8f6a31 +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') +makedepends=('mercurial' 'cmake' 'doxygen') +provides=("${pkgname%-hg}") +conflicts=("${pkgname%-hg}") +source=('coin::hg+https://bitbucket.org/Coin3D/coin#branch=CMake' + 'generalmsvcgeneration::hg+https://bitbucket.org/Coin3D/generalmsvcgeneration' + 'boost-header-libs-full::hg+https://bitbucket.org/Coin3D/boost-header-libs-full') +md5sums=('SKIP' + 'SKIP' + 'SKIP') + +pkgver() { + cd "$srcdir/coin" + printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" +} + +build() { + cd "$srcdir/coin" + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_INSTALL_LIBDIR="/usr/lib" + make +} + +package() { + cd "$srcdir/coin" + make DESTDIR="$pkgdir/" install +} |