summaryrefslogtreecommitdiff
path: root/pgplot/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-04-12 12:58:37 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-04-12 12:58:37 +0200
commit92857cf065f83fd25c2a2f2635a29cfb429597db (patch)
treef516d5d07bf38451224d973e4933fc850bae2a80 /pgplot/PKGBUILD
parentccb2951fd4d65045754d1a0de1e3168995a904a6 (diff)
downloadarchlinuxewe-92857cf065f83fd25c2a2f2635a29cfb429597db.tar.xz
recursively remove all unneeded packages
Diffstat (limited to 'pgplot/PKGBUILD')
-rw-r--r--pgplot/PKGBUILD51
1 files changed, 0 insertions, 51 deletions
diff --git a/pgplot/PKGBUILD b/pgplot/PKGBUILD
deleted file mode 100644
index e8dc2e608..000000000
--- a/pgplot/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Contributor: 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=32
-pkgdesc="Fortran- or C-callable, device-independent graphics package for making simple scientific graphs."
-url="http://www.astro.caltech.edu/~tjp/pgplot/"
-license=('custom')
-options=(!makeflags)
-arch=('i686' 'pentium4' 'x86_64')
-makedepends=('gcc-fortran')
-_pinned_dependencies=(
- 'glibc>=2.31'
- 'libpng=1.6.39'
- 'libx11=1.8.4'
- 'zlib=1:1.2.13'
-)
-depends=("${_pinned_dependencies[@]}")
-changelog=ChangeLog
-source=(ftp://ftp.astro.caltech.edu/pub/pgplot/${pkgname}${pkgver//./}.tar.gz pndriv.c.patch)
-md5sums=('e8a6e8d0d5ef9d1709dfb567724525ae' '25535f059b2e39ea44f93c24a41abacd')
-
-build() {
- cd $srcdir/$pkgname
- sed -i 's/! CGDRIV/CGDRIV/' drivers.list
- sed -i 's/! LXDRIV/LXDRIV/' drivers.list
- #sed -i 's/! PNDRIV/PNDRIV/' drivers.list
- sed -i 's/! PSDRIV/PSDRIV/' drivers.list
- sed -i 's/! TTDRIV 5/TTDRIV 5/' drivers.list
- sed -i 's/! XWDRIV/XWDRIV/1' drivers.list
- patch -p0 -i "${srcdir}"/pndriv.c.patch
-
- ./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 -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
- install -D -m644 rgb.txt $pkgdir/usr/lib/rgb.txt
- install -D -m755 pgxwin_server $pkgdir/usr/bin/pgxwin_server
- install -D -m644 libcpgplot.a $pkgdir/usr/lib/libcpgplot.a
- install -D -m644 cpgplot.h $pkgdir/usr/include/cpgplot.h
- install -D -m644 copyright.notice $pkgdir/usr/share/licenses/custom/$pkgname/copyright.notice
-}