1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: eolianoe <eolianoe At GoogleMAIL DoT CoM>
3 # Contributor: Xyne <ca dot archlinux at xyne, backwards>
8 pkgdesc='C++/Fortran-90 double-double and quad-double library'
10 url='https://crd-legacy.lbl.gov/~dhbailey/mpdist'
12 makedepends=(gcc-fortran)
13 source=(https://crd-legacy.lbl.gov/~dhbailey/mpdist/$pkgname-$pkgver.tar.gz)
14 sha256sums=('b3eaf41ce413ec08f348ee73e606bd3ff9203e411c377c3c0467f89acf69ee26')
20 ./configure --prefix=/usr --enable-shared
21 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
34 make DESTDIR="$pkgdir" install
35 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING