blob: d70ad52e30e23f610a2c3a31c6c3b4a74cdc299c (
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
33
34
|
# $Id: PKGBUILD 171506 2012-11-18 08:51:56Z eric $
# Maintainer: damir <damir@archlinux.org>
# Packager: Maksim Sipos (maxsipos at gmail dot com)
pkgname=plotutils
pkgver=2.6
pkgrel=3.1
arch=('x86_64' 'i686' 'mips64el')
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{,.sig}
plotutils-2.6-libpng-1.5.patch)
sha1sums=('7921301d9dfe8991e3df2829bd733df6b2a70838'
'ab78e2d06402aaac367da7a0e5810439d5b9853f'
'492f0e04f8265ab50d9ba0905a0f5adf3ec06ab8')
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
}
|