summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 29e127ca799009bf5399fa399945add16d98184c (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
31
32
33
34
35
36
# Maintainer:Bipin Kumar <kbipinkumar@pm.me>

pkgname=aevol
pkgver=5.0
pkgrel=2
pkgdesc="an open-source digital genetics platform that captures the evolutionary process"
arch=('x86_64')
url="https://www.aevol.fr/"
license=('GPL3')
depends=('boost-libs' 'glibc' 'gcc-libs' 'zlib' 'libx11')
makedepends=('boost' 'cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.inria.fr/aevol/aevol/-/archive/v5.0/aevol-v${pkgver}.tar.gz"
        'automake.patch')
b2sums=('fd056e9bfe272236ba3912584d5428fb2f08e34f89e57476297720c595910d24db4656d8bf0cecf1ba1aab58a3c9b1110eb35a7ff50c0c32e62c1f79873d799d'
        '0d9c47d2e8f93461a8ab7ce1a87abe638e9f0a252b0009e63f6c4e95a6cb7b4b41906ded4e78102d05b1feeb41f60e2d1b68eb6984a2f7cedb5fb35147429791')

prepare(){
  cp automake.patch "$pkgname-v$pkgver"/
  cd "$pkgname-v$pkgver"
  patch -p1 < automake.patch
  autoreconf -i  
  automake
}

build() {
  cd "$pkgname-v$pkgver"
  ./configure --prefix=/usr --with-x
  make
  
}

package() {
  cd "$pkgname-v$pkgver"
  make DESTDIR="${pkgdir}"/ install

}