summaryrefslogtreecommitdiff
path: root/testing/pstoedit/PKGBUILD
blob: d1d411976264eacb0b8479a6e1cea52b01234282 (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 137872 2011-09-12 05:31:26Z eric $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Tobias Powalowski <t.powa@gmx.de>

pkgname=pstoedit
pkgver=3.60
pkgrel=2
pkgdesc="Translates PostScript and PDF graphics into other vector formats"
arch=('i686' 'x86_64')
url="http://www.pstoedit.net/"
license=('GPL')
depends=('gcc-libs' 'plotutils' 'gd' 'imagemagick')
makedepends=('ghostscript')
options=('!libtool' '!makeflags')
source=("http://downloads.sourceforge.net/sourceforge/pstoedit/pstoedit-${pkgver}.tar.gz"
	'pstoedit-3.50-parallel.patch'	'pstoedit-3.50-plugin-close.patch')
sha1sums=('649ade3d873429548eb6dd9f3e13cb79a8d6a1a2'
          '6e278b164d3e59fbb11e7fd5ae8ffb038932d69a'
          '54bbe019de66eb4cb8525371462595d21fbd074e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  sed -i 's/-pedantic//' configure

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}