PKGBUILDs/extra/plotutils/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
788 B
Bash

# $Id: PKGBUILD 18753 2008-11-08 22:56:01Z jgc $
# Maintainer: damir <damir@archlinux.org>
# Packager: Maksim Sipos (maxsipos at gmail dot com)
pkgname=plotutils
pkgver=2.5.1
pkgrel=2
arch=('x86_64' 'i686')
pkgdesc="Set of utilities and libraries for plotting."
url="http://directory.fsf.org/graphics/plotutils.html"
license=("GPL")
depends=("libpng" "gcc-libs" "libxaw>=1.0.5")
install=plotutils.install
source=(http://ftp.gnu.org/pub/gnu/plotutils/$pkgname-$pkgver.tar.gz)
options=('!libtool')
md5sums=('fad3bc273de4ca5d74462b908db658ce')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-gnu-ld \
--with-x \
--enable-libplotter || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/usr/share/info/dir"
}