diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/plotutils |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/plotutils')
-rw-r--r-- | extra/plotutils/PKGBUILD | 27 | ||||
-rw-r--r-- | extra/plotutils/plotutils.install | 13 |
2 files changed, 40 insertions, 0 deletions
diff --git a/extra/plotutils/PKGBUILD b/extra/plotutils/PKGBUILD new file mode 100644 index 000000000..cd8d4f347 --- /dev/null +++ b/extra/plotutils/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 64564 2010-01-21 06:02:58Z eric $ +# Maintainer: damir <damir@archlinux.org> +# Packager: Maksim Sipos (maxsipos at gmail dot com) + +pkgname=plotutils +pkgver=2.6 +pkgrel=1 +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") +options=('!libtool') +install=plotutils.install +source=(http://ftp.gnu.org/pub/gnu/plotutils/$pkgname-$pkgver.tar.gz) +md5sums=('c08a424bd2438c80a786a7f4b5bb6a40') +sha1sums=('7921301d9dfe8991e3df2829bd733df6b2a70838') + +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 +} diff --git a/extra/plotutils/plotutils.install b/extra/plotutils/plotutils.install new file mode 100644 index 000000000..dd3ffb74f --- /dev/null +++ b/extra/plotutils/plotutils.install @@ -0,0 +1,13 @@ +infodir=/usr/share/info + +post_install() { + install-info $infodir/plotutils.info $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + install-info --delete $infodir/plotutils.info $infodir/dir 2> /dev/null +} |