blob: 310bedb368c1dfbb70c172dfba451cec7f6c0d41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 148259 2012-01-30 18:49:28Z ibiru $
# Maintainer: damir <damir@archlinux.org>
# Packager: Maksim Sipos (maxsipos at gmail dot com)
pkgname=plotutils
pkgver=2.6
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")
options=('!libtool')
install=plotutils.install
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}"
patch -p0 -i ../plotutils-2.6-libpng-1.5.patch
./configure --prefix=/usr \
--with-gnu-ld \
--with-x \
--enable-libplotter
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|