summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e032820006b3cf66985e297a16a7ccb286d15256 (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
# Maintainer: Josh Hoffer < hoffer dot joshua at gmail dot com > 
pkgname=ug
pkgver=3.13.0
pkgrel=1
pkgdesc='Numerical solution of PDEs on unstructured meshes'
url='http://www.iwr.uni-heidelberg.de/frame/iwrwikiequipment/software/ug'

arch=('i686' 'x86_64')
license=('LGPL2.1')

depends=('libxaw' 'openmpi')

source=("https://gitlab.dune-project.org/${pkgname}/${pkgname}/repository/archive.tar.bz2?ref=v${pkgver}")
md5sums=('80d93c8f674d5dd07bcd7ecd91fa51fd')
build() {
    cd "${pkgname}-v${pkgver}-b192b4ced50617cfdf6a75865771cb493dac1738"

    autoreconf -ifs

    CFLAGS="-Wno-narrowing -fPIC" CXXFLAGS="-Wno-narrowing -fPIC" CC=g++ ./configure --prefix=/usr \
        --enable-dune --enable-parallel 
    make
}

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

    make install DESTDIR="${pkgdir}"
}