summaryrefslogtreecommitdiff
path: root/ifeffit/PKGBUILD
blob: 91bf030e4abe96544bcc9e411a72e11b0f5adf33 (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
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Erich Eckner <arch at eckner dot net>

pkgname='ifeffit'
pkgver='1.2.13'
pkgrel=27
pkgdesc="a suite of interactive programs for XAFS analysis"
arch=('x86_64' 'i686' 'pentium4')
license=('GPL')
options=('!emptydirs')
_pinned_dependencies=(
  'gcc-libs=11.2.0'
  'glibc>=2.31'
  'libgfortran.so=5'
  'libncursesw.so=6'
  'libpng=1.6.37'
  'libx11=1.7.5'
  'pgplot=5.2.2'
  'zlib=1:1.2.12'
)
depends=("${_pinned_dependencies[@]}")
makedepends=('libx11' 'ncurses' 'libpng' 'wxgtk3' 'gcc-fortran' 'xorg-server-devel')
url='http://cars.uchicago.edu/ifeffit/Ifeffit'
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/newville/ifeffit/archive/${pkgver}.tar.gz")
sha512sums=('c903228f4f20f161722e57d34631ceee785293604afd15647ef4a5c456207e8bd3425f72b46c1d2995f3df316f93a16cef8d65c2bba8c279b47896440b106cf4')

prepare() {
  cd ${pkgname}-${pkgver}
  ./configure \
    --prefix=/usr \
    --with-arraysize=huge \
    --with-pgplot-link='-L/usr/lib -lpgplot -lpng -lz -lX11'
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
}

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

# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et: