summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf04a8f2d3ef06c3889bcda9afd0f4d77b2c6d25 (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: anon at sansorgan.es
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}"
}