summaryrefslogtreecommitdiff
path: root/extra/plotutils/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/plotutils/PKGBUILD
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/plotutils/PKGBUILD')
-rw-r--r--extra/plotutils/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/extra/plotutils/PKGBUILD b/extra/plotutils/PKGBUILD
index cd8d4f347..91e2c7775 100644
--- a/extra/plotutils/PKGBUILD
+++ b/extra/plotutils/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 64564 2010-01-21 06:02:58Z eric $
+# $Id: PKGBUILD 148880 2012-02-05 11:53:57Z ibiru $
# Maintainer: damir <damir@archlinux.org>
# Packager: Maksim Sipos (maxsipos at gmail dot com)
pkgname=plotutils
pkgver=2.6
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'i686')
pkgdesc="Set of utilities and libraries for plotting."
url="http://directory.fsf.org/graphics/plotutils.html"
@@ -12,16 +12,21 @@ 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')
+source=(http://ftp.gnu.org/pub/gnu/plotutils/$pkgname-$pkgver.tar.gz plotutils-2.6-libpng-1.5.patch)
+sha1sums=('7921301d9dfe8991e3df2829bd733df6b2a70838'
+ '426f6ee04186af5059ab54322efaf0a6a976682b')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
./configure --prefix=/usr \
--with-gnu-ld \
--with-x \
- --enable-libplotter || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ --enable-libplotter
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}