summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 105b6321f4b8c4a94cf4c8350d84d1b966117d42 (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
# Maintainer: Lukas Böger <dev___AT___lboeger___DOT___de>

pkgname=alberta
pkgver=3.0.1
pkgrel=1

pkgdesc='An adaptive hierarchical finite element toolbox'
arch=('i686' 'x86_64')

url='http://www.alberta-fem.de'
license=('GPL2' 'GPL3')

depends=('libtool' 'bash')

source=("http://www.mathematik.uni-stuttgart.de/fak8/ians/lehrstuhl/nmh/downloads/alberta/${pkgname}-${pkgver}.tar.gz")

md5sums=('8211248c997fe4fe501f0831231e65f4')

build() {
    cd "${pkgname}-${pkgver}"

    # for usage within DUNE, add --disable-fem-toolbox to speed up compilation
    ./configure --prefix=/usr --libexecdir=/usr/lib \
        --disable-graphics --disable-dependency-tracking --disable-debug

    make
}

package() {
    cd "${pkgname}-${pkgver}"

    make install DESTDIR="${pkgdir}"
}