LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File PKGBUILD of Package LibFlatArray (Project home:gentryx)

pkgname=libflatarray
pkgver=0.3.0
pkgrel=1
pkgdesc="LibFlatArray is a C++ library for 1D/2D/3D Struct of Arrays (SoA) containers"
url="http://libgeodecomp.org/libflatarray.html"
arch=('any')
license=('unknown')
optdepends=('doxygen: only needed if you want to produce your own copy of the documentation')
makedepends=('cmake')

source=("libflatarray_0.3.0.tar.gz")

md5sums=("3e9cb08914768ab7f66a35312424dc30")

build() {
  mkdir "${srcdir}"/libflatarray-0.3.0/build
  cd "${srcdir}"/libflatarray-0.3.0/build

  cmake -DCMAKE_INSTALL_PREFIX=/usr ../
  msg "Starting make..."
  make
}

package() {
  cd "${srcdir}/libflatarray-0.3.0/build"
  make DESTDIR="${pkgdir}/" install
}