summaryrefslogtreecommitdiff
path: root/plplot
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-08 11:56:33 +0200
committerErich Eckner <git@eckner.net>2016-04-11 11:29:19 +0200
commit99b8a38ffef1ab0d57d7dfc42858ee968d1a6f76 (patch)
tree096b5560beacffaa9d814ba24d5ab780ff66f391 /plplot
parent70cad5494b83979742424cf4f99e02e02dd3beb1 (diff)
downloadarchlinuxewe.git.save-99b8a38ffef1ab0d57d7dfc42858ee968d1a6f76.tar.xz
plplot neu
Diffstat (limited to 'plplot')
-rw-r--r--plplot/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/plplot/PKGBUILD b/plplot/PKGBUILD
new file mode 100644
index 00000000..85a87f8d
--- /dev/null
+++ b/plplot/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Miguel de Val-Borro <miguel at archlinux dot net>
+# Contributor: James Tappin <jtappinatgmaildotcom>
+# Contributor: Gergely Imreh <imrehgATgmailDOTcom>
+# Contributor: Eric Belanger <eric@archlinux.org>
+pkgname=plplot
+pkgver=5.11.1
+pkgrel=1
+pkgdesc="A cross-platform software package for creating scientific plots"
+arch=('i686' 'x86_64')
+url="http://plplot.sourceforge.net/"
+license=("LGPL" "custom")
+depends=('libtool' 'tk')
+makedepends=('cmake')
+optdepends=('qhull: calculating convex hulls'
+ 'agg: high quality rendering engine in C++'
+ 'swig: connects Plplot C library to Python, Java and Lua (must be present at compile time for Java)'
+ 'gd: ability to output png, jpeg and gif files'
+ 'qt4: display plots, output various formats using the Qt UI framework'
+ 'wxgtk: displays plots using wxWidgets library'
+ 'freetype2: enables use of ttf fonts for some drivers'
+ 'ttf-freefont: enables use of ttf fonts for some drivers'
+ 'cairo: displays plots and save to different file formats')
+options=('!libtool' '!makeflags')
+source=(http://downloads.sourceforge.net/sourceforge/plplot/${pkgname}-${pkgver}.tar.gz)
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ if [ -d build ]; then
+ rm -r build
+ fi
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_octave=off \
+ -DENABLE_tcl=ON \
+ -DENABLE_tk=ON \
+ -DPL_FREETYPE_FONT_PATH=/usr/share/fonts/TTF ..
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}/build
+ make DESTDIR=${pkgdir} install
+ install -D -m644 ../Copyright ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+sha512sums=('663da681a2e1ab2cb551e028485a55dfa111d8828187e84a50f5605c3346288ebd07a0e20ff4c50f00efc4f52be84bc100602de42e5713868ad32fdb431b80fd')