summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAstroFloyd2015-07-27 19:24:10 +0200
committerAstroFloyd2015-07-27 19:24:10 +0200
commit70e5fa65b291f30314ba98e4db3525001ba572e9 (patch)
tree7c7dd8cd40862411386a06bce6b57dddd3ae5137
parentd16269a1f0ab13b9038d785e35b4d401adc3b286 (diff)
downloadaur-pgplot.tar.gz
Revision bump: v5.2.2-6 -> 7
* Revision bump: v5.2.2-6 -> 7: * Hijacked package from jmorin (last version is 3 years old) * Split build in build() and package() (install) parts * Link to X11 using the -lX11 flag * Added ChangeLog
-rw-r--r--.SRCINFO3
-rw-r--r--ChangeLog12
-rw-r--r--PKGBUILD11
3 files changed, 22 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af1c935f8cf6..3aabd5851ddb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = pgplot
pkgdesc = Fortran- or C-callable, device-independent graphics package for making simple scientific graphs.
pkgver = 5.2.2
- pkgrel = 6
+ pkgrel = 7
url = http://www.astro.caltech.edu/~tjp/pgplot/
+ changelog = ChangeLog
arch = i686
arch = x86_64
license = custom
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 000000000000..698da3eebb4b
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,12 @@
+
+ChangeLog for PGPlot PKGBUILD
+
+* pgplot-5.2.2-7 (2015-05-09 - AstroFloyd)
+ Hijacked package from jmorin (last version is 3 years old)
+ Split build in build() and package() (install) parts
+ Link to X11 using the -lX11 flag
+ Added ChangeLog
+
+* pgplot-5.2.2-6 (2012-09-20 - jmorin)
+ Last version from AUR3, hijacked by AstroFloyd for AUR4
+
diff --git a/PKGBUILD b/PKGBUILD
index 4623152b202c..88504b8f8ce4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
-# Maintainer: Julien Morin <morin.jul@gmail.com>
+# Maintainer: AstroFloyd < AstroFloyd [at] gmail [dt] com >
+# Contributor: Julien Morin <morin.jul@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=pgplot
pkgver=5.2.2
-pkgrel=6
+pkgrel=7
pkgdesc="Fortran- or C-callable, device-independent graphics package for making simple scientific graphs."
url="http://www.astro.caltech.edu/~tjp/pgplot/"
license=('custom')
@@ -11,6 +12,7 @@ options=(!makeflags)
arch=('i686' 'x86_64')
makedepends=('gcc-fortran')
depends=('libpng' 'libx11')
+changelog=ChangeLog
source=(ftp://ftp.astro.caltech.edu/pub/pgplot/${pkgname}522.tar.gz pndriv.c.patch)
md5sums=('e8a6e8d0d5ef9d1709dfb567724525ae' '25535f059b2e39ea44f93c24a41abacd')
@@ -26,8 +28,11 @@ build() {
./makemake . linux g77_gcc
sed -i 's=pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h=#pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h=' makefile
- make FCOMPL=gfortran SHARED_LIB_LIBS="-lpng -lz" all cpg || return 1
+ make FCOMPL=gfortran SHARED_LIB_LIBS="-lpng -lz -lX11" all cpg || return 1
+}
+package() {
+ cd $srcdir/$pkgname
install -D -m644 libpgplot.a $pkgdir/usr/lib/libpgplot.a
install -D -m755 libpgplot.so $pkgdir/usr/lib/libpgplot.so
install -D -m644 grfont.dat $pkgdir/usr/lib/grfont.dat