Commit c5757f1b authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles
Browse files

add PKGBUILD for ArchLinux

parent 29ba4f19
# Contributor: masutu <masutu dot atch at gmail dot com>
# Contributor: Jonathan Fine <were.Vire@gmail.com>
# Maintainer: Simon Conseil <contact+aur at saimon dot org>
pkgname=glnemo2
pkgver=1.11.0
pkgrel=1
pkgdesc="an interactive visualization 3D program for nbody snapshots."
arch=('i686' 'x86_64')
url="http://projets.oamp.fr/projects/glnemo2"
license=('GPL')
depends=( 'glu' 'qt5-base' 'ccfits' 'hdf5-cpp-fortran')
#source=(http://projets.lam.fr/attachments/download/2892/${pkgname}-${pkgver}.tar.gz)
#md5sums=('d012fc4d0ca59275641e2de15ec499b4')
#noextract=( ${source[@]##*/} )
srcdir='./'
build() {
cd ..
mkdir -p build
cd build
cmake ..
make -j 4
}
package() {
# cd $srcdir/$pkgname
cd ../build
install -D -m755 bin/glnemo2 $pkgdir/usr/bin/glnemo2
install -D -m644 ../man/man1/glnemo2.1 $pkgdir/usr/share/man/man1/glnemo2.1
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment