summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-12 09:05:23 +0200
committerErich Eckner <git@eckner.net>2016-04-25 16:27:07 +0200
commitf3bcf86e36cd217dfbf9c4ba0f7fae5c29fa515e (patch)
treee3d7b2c037785b982616d03db9f138edef17a4a5
parenta8f9b2c8743ec9999e7a55007fe524e4b5f0a709 (diff)
downloadarchlinuxewe-f3bcf86e36cd217dfbf9c4ba0f7fae5c29fa515e.tar.xz
ifeffit neu
-rw-r--r--ifeffit/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/ifeffit/PKGBUILD b/ifeffit/PKGBUILD
new file mode 100644
index 000000000..0dfaf80fc
--- /dev/null
+++ b/ifeffit/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+pkgname='ifeffit'
+pkgver='1.2.13'
+pkgrel='1'
+pkgdesc="a suite of interactive programs for XAFS analysis"
+arch=('x86_64' 'i686')
+license=('GPL')
+options=('!emptydirs')
+depends=('pgplot')
+makedepends=('libx11' 'ncurses' 'libpng' 'wxgtk' '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="${pkgdir}/usr" \
+ --with-pgplot-link='-L/usr/lib/libpgplot -lpgplot -lpng -lz -lX11'
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make distdir="${pkgdir}" install
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: