updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / ploticus / PKGBUILD
blob6231dc10bd46675adc3bad939ae454c07afaf03d
1 # Maintainer: Kaiting Chen <kaitocracy@gmail.com>
2 # Contributor: Andreas Hauser <andy-aur@splashground.de>
4 pkgname='ploticus'
5 pkgver='2.41'
6 pkgrel='1'
7 pkgdesc='Non-interactive tool for data visualization'
8 arch=('i686' 'x86_64')
9 url='http://ploticus.sourceforge.net/doc/welcome.html'
10 license=('GPL')
11 depends=(
12   'gd' 'libpng' 'libjpeg' 'freetype2' 'zlib' 'libx11')
14 md5sums=('ed68bd653488bbe86301077e12d3265a'
15          'fcf8837a3451e24ddf424d0ac418c6c1')
16 source=("http://prdownloads.sourceforge.net/sourceforge/$pkgname/pl${pkgver/./}src.tar.gz"
17   'Makefile.patch')
19 build() {
20   cd "${srcdir}/pl${pkgver/./}src/src"
21   patch -Np2 -i $srcdir/Makefile.patch
23   make || return 1
24   install -Dm755 pl $pkgdir/usr/bin/pl
26   install -Dm644 ../man/man1/pl.1 \
27     $pkgdir/usr/share/man/man1/pl.1
29   install -dm644  $pkgdir/usr/share/ploticus
30   cp ../prefabs/* $pkgdir/usr/share/ploticus