-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
34 lines (29 loc) · 882 Bytes
/
PKGBUILD
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
31
32
33
# Contributor: masutu <masutu dot atch at gmail dot com>
# Contributor: Jonathan Fine <[email protected]>
# 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: