mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
43 lines
1.5 KiB
Bash
43 lines
1.5 KiB
Bash
|
# $Id: PKGBUILD 53009 2009-09-25 00:51:59Z giovanni $
|
||
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||
|
# Contributor: damir <damir@archlinux.org>
|
||
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||
|
|
||
|
pkgname=gnuplot
|
||
|
pkgver=4.2.6
|
||
|
pkgrel=1
|
||
|
pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.gnuplot.info"
|
||
|
license=('custom')
|
||
|
depends=('readline>=6.0.00' 'gd' 'wxgtk' 'cairo' 'libjpeg>=7')
|
||
|
makedepends=('texinfo' 'emacs')
|
||
|
install=gnuplot.install
|
||
|
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
|
||
|
md5sums=('c10468d74030e8bed0fd6865a45cf1fd')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
./configure --prefix=/usr --mandir=/usr/share/man \
|
||
|
--infodir=/usr/share/info \
|
||
|
--libexecdir=/usr/bin \
|
||
|
--with-gihdir=/usr/share/gnuplot \
|
||
|
--datadir=/usr/share \
|
||
|
--with-readline=gnu
|
||
|
make pkglibexecdir=/usr/bin || return 1
|
||
|
make prefix=$pkgdir/usr libexecdir=$pkgdir/usr/bin \
|
||
|
mandir=$pkgdir/usr/share/man \
|
||
|
infodir=$pkgdir/usr/share/info \
|
||
|
pkglibexecdir=$pkgdir/usr/bin \
|
||
|
GIHDIR=$pkgdir/usr/share/gnuplot \
|
||
|
TEXMFLOCAL=$pkgdir/usr/share/texmf-dist \
|
||
|
datadir=$pkgdir/usr/share install || return 1
|
||
|
|
||
|
install -Dm644 lisp/dotemacs $pkgdir/usr/share/emacs/site-lisp/dotemacs || return 1
|
||
|
install -Dm644 Copyright $pkgdir/usr/share/licenses/$pkgname/Copyright || return 1
|
||
|
|
||
|
rm -f $pkgdir/pkg/usr/share/texmf-dist/ls-R
|
||
|
}
|
||
|
|
||
|
|