summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc3e16dae3146a0795b51939c0aad1f0933d28c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Stunts <stunts@pinamartins.com>
# Contributor: bmpvieira <mail@bmpvieira.com>

pkgname=genepop
pkgver=4.7.5
pkgrel=1
pkgdesc="A population genetics software."
arch=('i686' 'x86_64')
license=('CeCILL')
url="http://kimura.univ-montp2.fr/~rousset/Genepop.htm"
depends=('gcc-libs')
source=(http://kimura.univ-montp2.fr/~rousset/sources.tar.gz)
sha256sums=('6e1b28e1014a1356655489289adc2eb3230651f607d9ae0d409dc8fbeaa8bfbf')

build() {
  cd "$srcdir"
  tar xfvz sources.tar.gz
  g++ -std=c++11 -o genepop *.cpp -O3
}

package() {
  install -Dm755 "$srcdir/genepop" "$pkgdir/usr/bin/genepop"
}