# Maintainer: Dmitri Kourennyi # Contributor: Eric Schulte <[firstname] dot [lastname] at gmx dot com> pkgname=feedgnuplot pkgver=1.49 pkgrel=2 pkgdesc="General purpose pipe-oriented plotting tool" arch=('any') url="https://github.com/dkogan/feedgnuplot" license=('GPL') depends=('perl' 'gnuplot' 'perl-list-moreutils' 'perl-string-shellquote') provides=('feedgnuplot') source=("https://github.com/dkogan/feedgnuplot/archive/v${pkgver}.tar.gz") sha256sums=("5cb292761228309794cfecb7105232559433ceb1f16a5a5f80ca08ee8caf9902") build() { cd "$srcdir/${pkgname}-${pkgver}" unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps /usr/bin/perl Makefile.PL make } package() { cd "$srcdir/${pkgname}-${pkgver}" unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT make install INSTALLDIRS=vendor DESTDIR="$pkgdir" }