summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2ee5476c1e6fad01353d4f0a6aecd59854075659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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.21.0
pkgrel=1
pkgdesc="an interactive visualization 3D program for nbody snapshots."
arch=('i686' 'x86_64')
url="http://projets.oamp.fr/projects/glnemo2"
license=('custom')
depends=('glu' 'qt5-base' 'ccfits' 'hdf5' 'glm' 'libtirpc')
source=(https://gitlab.lam.fr/jclamber/glnemo2/-/archive/${pkgver}/glnemo2-${pkgver}.tar.gz)
md5sums=('ec0d887f0275a461f9700edaf370d124')

build() {
  cd $pkgname-$pkgver
  mkdir -p build
  cd build
  cmake ..
  make -j4
}

package() {
  cd $pkgname-$pkgver
  install -D -m755 build/bin/glnemo2 $pkgdir/usr/bin/glnemo2
  install -D -m644 man/man1/glnemo2.1 $pkgdir/usr/share/man/man1/glnemo2.1
  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
}

# vim:set ts=2 sw=2 et: