diff options
author | AstroFloyd | 2015-07-27 19:24:10 +0200 |
---|---|---|
committer | AstroFloyd | 2015-07-27 19:24:10 +0200 |
commit | 70e5fa65b291f30314ba98e4db3525001ba572e9 (patch) | |
tree | 7c7dd8cd40862411386a06bce6b57dddd3ae5137 | |
parent | d16269a1f0ab13b9038d785e35b4d401adc3b286 (diff) | |
download | aur-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-- | .SRCINFO | 3 | ||||
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | PKGBUILD | 11 |
3 files changed, 22 insertions, 4 deletions
@@ -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 + @@ -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 |